epretorious
Dabbler
- Joined
- Jul 28, 2011
- Messages
- 10
Instead of responding the netbios name configured in /usr/local/etc/smb.conf...
Samba [FreeNAS-8.0.2-RELEASE-i386 (8288)] is announcing the system's hostname instead:
Ideas?
Code:
[eric@freenas /]$ cat /usr/local/etc/smb.conf [global] encrypt passwords = yes dns proxy = no strict locking = no read raw = yes write raw = yes oplocks = yes max xmit = 65535 deadtime = 15 display charset = LOCALE max log size = 10 syslog only = yes syslog = yes load printers = no printing = bsd printcap name = /dev/null disable spoolss = yes smb passwd file = /var/etc/private/smbpasswd private dir = /var/etc/private getwd cache = yes guest account = nobody map to guest = Bad Password netbios name = pretorious workgroup = pretorious server string = Pretorious File Share use sendfile = yes large readwrite = no store dos attributes = yes local master = yes time server = yes security = user create mask = 0666 create mask = 0666 directory mask = 0777 client ntlmv2 auth = yes dos charset = CP437 unix charset = UTF-8 log level = 10 aio read size = 1 aio write size = 1 [Pretorious] path = /mnt/main/pretorious printable = no veto files = /.snap/.windows/ comment = Pretorious Family CIFS File Share writeable = yes browseable = yes inherit owner = no inherit permissions = no vfs objects = hosts allow = 192.168.0.0/24 inherit acls = Yes map archive = No map readonly = no nfs4:mode = special nfs4:acedup = merge nfs4:chown = yes
Samba [FreeNAS-8.0.2-RELEASE-i386 (8288)] is announcing the system's hostname instead:
Code:
[eric@freenas /]$ smbclient -L pretorious Enter eric's password: Connection to pretorious failed (Error NT_STATUS_UNSUCCESSFUL) [eric@freenas /]$ smbclient -L freenas Enter eric's password: Domain=[PRETORIOUS] OS=[Unix] Server=[Samba 3.5.11] Sharename Type Comment --------- ---- ------- IPC$ IPC IPC Service (Pretorious File Share) Pretorious Disk Pretorious Family CIFS File Share Domain=[PRETORIOUS] OS=[Unix] Server=[Samba 3.5.11] Server Comment --------- ------- PRETORIOUS Pretorious File Share Workgroup Master --------- ------- PRETORIOUS
Ideas?