[Samba] PDC announces two netbios names?
Patrick Ben Koetter
p at state-of-mind.de
Mon Oct 27 14:26:39 GMT 2008
I've configured a Samba server based on Ubuntu packages. It uses LDAP as
backend.
The server announces itself using two netbios (?) names - OFFICE and SERVER.
Originally I had planned to use OFFICE. Then I switched to SERVER.
I've looked at the config files and search for any occurences of OFFICE, but I
can't find any.
Any ideas where I should look or what I should do?
Thanks,
p at rick
Here's some debug information:
$ hostname
server
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.1"
$ sudo grep -i office /etc/samba/*
p at server:samba$
$ cat /etc/resolv.conf
search office.jojo-wassersport.de
nameserver 127.0.0.1
$ dig @localhost office.office.jojo-wassersport.de
p at server:samba$
$ testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[Profiles]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[Files]"
Processing section "[Training]"
Processing section "[Training-Development]"
Processing section "[Fotos]"
Processing section "[PDF-Ausgabe]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
[global]
workgroup = JOJO
server string = %h server (Samba, Ubuntu)
interfaces = 127.0.0.0/8, eth0
map to guest = Bad User
obey pam restrictions = Yes
passdb backend = ldapsam:ldap://localhost
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
log level = 3 passdb:5 auth:10 winbind:2
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
server signing = auto
printcap name = cups
add user script = /usr/sbin/smbldap-useradd -m '%u'
delete user script = /usr/sbin/smbldap-userdel %u
add group script = /usr/sbin/smbldap-groupadd -p '%g'
delete group script = /usr/sbin/smbldap-groupdel '%g'
add user to group script = /usr/sbin/smbldap-groupmod -m '%u' '%g'
delete user from group script = /usr/sbin/smbldap-groupmod -x '%u' '%g'
set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u'
add machine script = /usr/sbin/smbldap-useradd -w '%u'
logon script = logon.bat
logon path = \\server\Profiles\%U
logon drive = H:
logon home = \\server\%U
domain logons = Yes
os level = 35
domain master = Yes
dns proxy = No
wins support = Yes
ldap admin dn = cn=admin,o=JOJO Wassersport,c=de
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Computers
ldap passwd sync = Yes
ldap suffix = o=JOJO Wassersport,c=de
ldap ssl = no
ldap user suffix = ou=Users
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
[homes]
comment = Eigene Dateien
valid users = %S
read only = No
browseable = No
[netlogon]
comment = Network Logon Service
path = /srv/samba/netlogon
admin users = root
guest ok = Yes
browseable = No
[Profiles]
comment = Roaming Profile Share
path = /srv/samba/profiles
read only = No
profile acls = Yes
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
valid users = root, @Staff
admin users = root
write list = root, @Staff, @Trainer
read only = No
create mask = 0600
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No
[print$]
comment = Printer Drivers Share
path = /var/lib/samba/printers
valid users = root, @Staff
admin users = root, @Staff
write list = @Staff, @Trainer
create mask = 0664
directory mask = 0775
[Files]
comment = Nutzdaten
path = /srv/fileserver/files
admin users = root, rolandr
write list = @staff
force group = Staff
create mask = 0640
directory mask = 0770
[Training]
comment = Unterrichtsmaterial
path = /srv/fileserver/training
admin users = root, rolandr
read list = @trainer
write list = @staff
force group = Trainer
create mask = 0660
directory mask = 0770
[Training-Development]
comment = Unterrichtsmaterial in Entwicklung
path = /srv/fileserver/training_developement
admin users = root, rolandr
write list = @staff, @trainer
force group = Trainer
create mask = 0666
directory mask = 0777
[Fotos]
comment = Fotos und Filme
path = /srv/fileserver/fotos
admin users = root, rolandr
write list = @staff
force group = Staff
create mask = 0664
directory mask = 0775
guest ok = Yes
[PDF-Ausgabe]
comment = PDF-Ausgabe auf Server
path = /var/spool/cups-pdf/ANONYMOUS/
valid users = @Staff
admin users = @Staff
force group = Staff
read only = No
create mask = 0664
directory mask = 0770
case sensitive = Yes
--
state of mind
Agentur für Kommunikation, Design und Softwareentwicklung
Patrick Koetter Tel: 089 45227227
Echinger Strasse 3 Fax: 089 45227226
85386 Eching Web: http://www.state-of-mind.de
Amtsgericht München Partnerschaftsregister PR 563
More information about the samba
mailing list