Re: [Samba] Samba 3.0.1 not listing workgroup and host name
you right nmbd is not runnig # smbclient -L localhost Password: Anonymous login successful Sharename Type Comment - --- IPC$ IPC IPC Service (rishi Samba Server) ADMIN$ IPC IPC Service (rishi Samba Server) Anonymous login successful Server Comment ---- RISHIrishi Samba Server WorkgroupMaster ---- TECHGROUP Thanks for your help > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Have you given it time for the WINS cache to activate (Can take up to 15 > mins)? > > Is nmbd running? > > - -Tom > > [EMAIL PROTECTED] wrote: > | Hi all, > | > | > | I am using samba 3.0.1 LDAP PDC on suse 8.2. smbclinet command is not > | listing domain ( work group name). Here is the output smbclient command. > | > | rishi:/var/log/samba # smbclient -L localhost > | Password: > | Anonymous login successful > | > | Sharename Type Comment > | - --- > | IPC$ IPC IPC Service (rishi Samba Server) > | ADMIN$ IPC IPC Service (rishi Samba Server) > | Anonymous login successful > | > | Server Comment > | ---- > | > | WorkgroupMaster > | ---- > | rishi:/var/log/samba # smbclient -L localhost -U Administrator > | Password: > | > | Sharename Type Comment > | - --- > | IPC$ IPC IPC Service (rishi Samba Server) > | ADMIN$ IPC IPC Service (rishi Samba Server) > | Administrator Disk Home Directories > | > | Server Comment > | ---- > | > | WorkgroupMaster > | ---- > | > | > | Here is my smb.conf file > | === > | rishi:/var/log/samba # cat /etc/samba/smb.conf | grep -v "^[#;]" | grep > -v > | "^$" > | [global] > | passdb backend = ldapsam > | ldap suffix = dc=sfgroup,dc=com > | ldap user suffix = ou=People > | ldap group suffix = ou=Groups > | ldap machine suffix = ou=Computers > | ldap admin dn = "cn=Manager,dc=sfgroup,dc=com" > | ldap ssl = no > | passwd chat debug = Yes > | passwd program =/usr/local/bin/smbldap-passwd.pl -o %u > | passwd chat = *new*password* %n\n *new*password:* %n\ *successfully* > | socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > | add machine script = /usr/local/sbin/smbldap-useradd.pl -a -w "%m" > | add user script = /usr/local/sbin/smbldap-useradd.pl -a "%u" > | delete user script = /usr/local/sbin/smbldap-useradd.pl -d "%u" > | add group script = /usr/local/sbin/smbldap-useradd.pl -a -g "%g" > | delete group script = /usr/local/sbin/smbldap-useradd.pl -d -g "%g" > | add user to group script = /usr/local/sbin/smbldap-useradd.pl -j -u "%u" > | -g "%g" > | delete user from group script = /usr/local/sbin/smbldap-useradd.pl -j -u > | "%u" -g "%g" > | set primary group script = /usr/local/sbin/smbldap-useradd.pl -m -u "%u" > | -gid "%g" > |workgroup = TECHGROUP > |server string = rishi Samba Server > |netbios name = rishi > |printcap name = cups > |load printers = yes > |printing = cups > |log file = /var/log/samba/%m.log > | log level = 3 > |max log size = 5000 > |security = user > | null passwords = yes > | encrypt passwords = yes > |socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > |local master = yes > |os level = 22 > |domain master = yes > |preferred master = yes > |domain logons = yes > |wins support = yes > |dns proxy = no > | [homes] > |comment = Home Directories > |browseable = no > |writable = yes > | [printers] > |comment = All Printers > |path = /var/spool/samba > |browseable = no > |guest ok = no > |writable = no > |printable = yes > | > | my ldap data output: > | # extended LDIF > | # > | # LDAPv3 > | # base <> with scope sub > | # filter: (objectclass=*) > | # requesting: ALL > | # > | > | # sfgroup.com > | dn: dc=sfgroup,dc=com > | objectClass: dcObject > | objectClass: organization > | dc: sfgroup > | o: sfgroup > | > | # People, sfgroup.com > | dn: ou=People,dc=sfgroup,dc=com > | objectClass: organizationalUnit > | ou: People > | > | # Groups, sfgroup.com > | dn: ou=Groups,dc=sfgroup,dc=com > | objectClass: organizationalUnit > | ou: Groups > | > | # Computers, sfgroup.com > | dn: ou=Computers,dc=sfgroup,dc=com > | objectClass: organizationalUnit > | ou: Computers > | > | # Administrator, People, sfgroup.com > | dn: uid=Administrator,ou=People,dc=sfgroup,dc=com > | cn: Administrator > | sn: Administrator > | objectClass: inetOrgPerson > | objectClass: sambaSAMAccount > | objectClass: posixAccount
Re: [Samba] Samba 3.0.1 not listing workgroup and host name
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Have you given it time for the WINS cache to activate (Can take up to 15 mins)? Is nmbd running? - -Tom [EMAIL PROTECTED] wrote: | Hi all, | | | I am using samba 3.0.1 LDAP PDC on suse 8.2. smbclinet command is not | listing domain ( work group name). Here is the output smbclient command. | | rishi:/var/log/samba # smbclient -L localhost | Password: | Anonymous login successful | | Sharename Type Comment | - --- | IPC$ IPC IPC Service (rishi Samba Server) | ADMIN$ IPC IPC Service (rishi Samba Server) | Anonymous login successful | | Server Comment | ---- | | WorkgroupMaster | ---- | rishi:/var/log/samba # smbclient -L localhost -U Administrator | Password: | | Sharename Type Comment | - --- | IPC$ IPC IPC Service (rishi Samba Server) | ADMIN$ IPC IPC Service (rishi Samba Server) | Administrator Disk Home Directories | | Server Comment | ---- | | WorkgroupMaster | ---- | | | Here is my smb.conf file | === | rishi:/var/log/samba # cat /etc/samba/smb.conf | grep -v "^[#;]" | grep -v | "^$" | [global] | passdb backend = ldapsam | ldap suffix = dc=sfgroup,dc=com | ldap user suffix = ou=People | ldap group suffix = ou=Groups | ldap machine suffix = ou=Computers | ldap admin dn = "cn=Manager,dc=sfgroup,dc=com" | ldap ssl = no | passwd chat debug = Yes | passwd program =/usr/local/bin/smbldap-passwd.pl -o %u | passwd chat = *new*password* %n\n *new*password:* %n\ *successfully* | socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 | add machine script = /usr/local/sbin/smbldap-useradd.pl -a -w "%m" | add user script = /usr/local/sbin/smbldap-useradd.pl -a "%u" | delete user script = /usr/local/sbin/smbldap-useradd.pl -d "%u" | add group script = /usr/local/sbin/smbldap-useradd.pl -a -g "%g" | delete group script = /usr/local/sbin/smbldap-useradd.pl -d -g "%g" | add user to group script = /usr/local/sbin/smbldap-useradd.pl -j -u "%u" | -g "%g" | delete user from group script = /usr/local/sbin/smbldap-useradd.pl -j -u | "%u" -g "%g" | set primary group script = /usr/local/sbin/smbldap-useradd.pl -m -u "%u" | -gid "%g" |workgroup = TECHGROUP |server string = rishi Samba Server |netbios name = rishi |printcap name = cups |load printers = yes |printing = cups |log file = /var/log/samba/%m.log | log level = 3 |max log size = 5000 |security = user | null passwords = yes | encrypt passwords = yes |socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 |local master = yes |os level = 22 |domain master = yes |preferred master = yes |domain logons = yes |wins support = yes |dns proxy = no | [homes] |comment = Home Directories |browseable = no |writable = yes | [printers] |comment = All Printers |path = /var/spool/samba |browseable = no |guest ok = no |writable = no |printable = yes | | my ldap data output: | # extended LDIF | # | # LDAPv3 | # base <> with scope sub | # filter: (objectclass=*) | # requesting: ALL | # | | # sfgroup.com | dn: dc=sfgroup,dc=com | objectClass: dcObject | objectClass: organization | dc: sfgroup | o: sfgroup | | # People, sfgroup.com | dn: ou=People,dc=sfgroup,dc=com | objectClass: organizationalUnit | ou: People | | # Groups, sfgroup.com | dn: ou=Groups,dc=sfgroup,dc=com | objectClass: organizationalUnit | ou: Groups | | # Computers, sfgroup.com | dn: ou=Computers,dc=sfgroup,dc=com | objectClass: organizationalUnit | ou: Computers | | # Administrator, People, sfgroup.com | dn: uid=Administrator,ou=People,dc=sfgroup,dc=com | cn: Administrator | sn: Administrator | objectClass: inetOrgPerson | objectClass: sambaSAMAccount | objectClass: posixAccount | uid: Administrator | homeDirectory: /home | sambaLogonTime: 0 | sambaLogoffTime: 2147483647 | sambaKickoffTime: 2147483647 | sambaPwdCanChange: 0 | sambaHomePath: \\_PDCNAME_\homes | sambaHomeDrive: _HOMEDRIVE_ | sambaProfilePath: \\_PDCNAME_\profiles\ | loginShell: /bin/false | gecos: Netbios Domain Administrator | gidNumber: 512 | sambaSID: S-1-5-21-3516781642-1962875130-3438800523-1000 | sambaPrimaryGroupSID: S-1-5-21-3516781642-1962875130-3438800523-512 | uidNumber: 0 | sambaLMPassword: 78BCCAEE08C90E29AAD3B435B51404EE | sambaAcctFlags: [U] | sambaNTPassword: F9E37E83B83C47A93C2F09F66408631B | sambaPwdLastSet: 1072410384 | sambaPwdMustChange: 1076298384 | userPassword:: e1NTSEF9SjYzTUdRZFlCK3FJMEhFTHVCTmg1RWhmTUF5aVl3bXo= | | # nobody, People, sfgroup.com | dn: uid=nobody,ou=People,dc=sfgroup,dc=com | cn: nobody | sn: nobody | objectClass: ine
[Samba] Samba 3.0.1 not listing workgroup and host name
Hi all, I am using samba 3.0.1 LDAP PDC on suse 8.2. smbclinet command is not listing domain ( work group name). Here is the output smbclient command. rishi:/var/log/samba # smbclient -L localhost Password: Anonymous login successful Sharename Type Comment - --- IPC$ IPC IPC Service (rishi Samba Server) ADMIN$ IPC IPC Service (rishi Samba Server) Anonymous login successful Server Comment ---- WorkgroupMaster ---- rishi:/var/log/samba # smbclient -L localhost -U Administrator Password: Sharename Type Comment - --- IPC$ IPC IPC Service (rishi Samba Server) ADMIN$ IPC IPC Service (rishi Samba Server) Administrator Disk Home Directories Server Comment ---- WorkgroupMaster ---- Here is my smb.conf file === rishi:/var/log/samba # cat /etc/samba/smb.conf | grep -v "^[#;]" | grep -v "^$" [global] passdb backend = ldapsam ldap suffix = dc=sfgroup,dc=com ldap user suffix = ou=People ldap group suffix = ou=Groups ldap machine suffix = ou=Computers ldap admin dn = "cn=Manager,dc=sfgroup,dc=com" ldap ssl = no passwd chat debug = Yes passwd program =/usr/local/bin/smbldap-passwd.pl -o %u passwd chat = *new*password* %n\n *new*password:* %n\ *successfully* socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 add machine script = /usr/local/sbin/smbldap-useradd.pl -a -w "%m" add user script = /usr/local/sbin/smbldap-useradd.pl -a "%u" delete user script = /usr/local/sbin/smbldap-useradd.pl -d "%u" add group script = /usr/local/sbin/smbldap-useradd.pl -a -g "%g" delete group script = /usr/local/sbin/smbldap-useradd.pl -d -g "%g" add user to group script = /usr/local/sbin/smbldap-useradd.pl -j -u "%u" -g "%g" delete user from group script = /usr/local/sbin/smbldap-useradd.pl -j -u "%u" -g "%g" set primary group script = /usr/local/sbin/smbldap-useradd.pl -m -u "%u" -gid "%g" workgroup = TECHGROUP server string = rishi Samba Server netbios name = rishi printcap name = cups load printers = yes printing = cups log file = /var/log/samba/%m.log log level = 3 max log size = 5000 security = user null passwords = yes encrypt passwords = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 local master = yes os level = 22 domain master = yes preferred master = yes domain logons = yes wins support = yes dns proxy = no [homes] comment = Home Directories browseable = no writable = yes [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = yes my ldap data output: # extended LDIF # # LDAPv3 # base <> with scope sub # filter: (objectclass=*) # requesting: ALL # # sfgroup.com dn: dc=sfgroup,dc=com objectClass: dcObject objectClass: organization dc: sfgroup o: sfgroup # People, sfgroup.com dn: ou=People,dc=sfgroup,dc=com objectClass: organizationalUnit ou: People # Groups, sfgroup.com dn: ou=Groups,dc=sfgroup,dc=com objectClass: organizationalUnit ou: Groups # Computers, sfgroup.com dn: ou=Computers,dc=sfgroup,dc=com objectClass: organizationalUnit ou: Computers # Administrator, People, sfgroup.com dn: uid=Administrator,ou=People,dc=sfgroup,dc=com cn: Administrator sn: Administrator objectClass: inetOrgPerson objectClass: sambaSAMAccount objectClass: posixAccount uid: Administrator homeDirectory: /home sambaLogonTime: 0 sambaLogoffTime: 2147483647 sambaKickoffTime: 2147483647 sambaPwdCanChange: 0 sambaHomePath: \\_PDCNAME_\homes sambaHomeDrive: _HOMEDRIVE_ sambaProfilePath: \\_PDCNAME_\profiles\ loginShell: /bin/false gecos: Netbios Domain Administrator gidNumber: 512 sambaSID: S-1-5-21-3516781642-1962875130-3438800523-1000 sambaPrimaryGroupSID: S-1-5-21-3516781642-1962875130-3438800523-512 uidNumber: 0 sambaLMPassword: 78BCCAEE08C90E29AAD3B435B51404EE sambaAcctFlags: [U] sambaNTPassword: F9E37E83B83C47A93C2F09F66408631B sambaPwdLastSet: 1072410384 sambaPwdMustChange: 1076298384 userPassword:: e1NTSEF9SjYzTUdRZFlCK3FJMEhFTHVCTmg1RWhmTUF5aVl3bXo= # nobody, People, sfgroup.com dn: uid=nobody,ou=People,dc=sfgroup,dc=com cn: nobody sn: nobody objectClass: inetOrgPerson objectClass: sambaSAMAccount objectClass: posixAccount gidNumber: 514 uid: nobody uidNumber: 999 homeDirectory: /dev/null sambaPwdLastSet: 0 sambaLogonTime: 0 sambaLogoffTime: 2147483647 sambaKickoffTime: 2147483647 sambaPwdCanChange: 0 sambaPwdMustChange: 2147483647 sambaHomePath: \\_PDCNAME_\homes sambaHomeDrive: _HOMEDRIVE_ sambaProfilePath: \\_PDCNAME_\profiles\ sambaPrimaryGroupSID: S-1-5-21-3516781642-1962875130-3438800523-514 sambaLMPassword: NO PASSWORDX