Why do i get the message Secret is bad 0xc0000022 when i do a wbinfo -t?. Wbinfo -u and -g works. also getent passwd and groups also is working fine it shows all NT user stats. I shall attach my smb.conf # Global parameters [global] workgroup = SOME_DOMAIN netbios name = E15K security = SERVER encrypt passwords = Yes update encrypted = Yes password server = 10.10.255.251 socket options = TCP_NODELAY IPTOS_LOWDELAY os level = 33 wins server = 10.10.255.251 winbind uid = 10000-20000 winbind gid = 10000-20000 template homedir = /samba/shares/%D/%U template shell = /bin/sh guest account = ftp [TEST] comment = For testing only, Please path = /samba/shares/test username = SOME_DOMAIN\user1,user1 valid users = SOME_DOMAIN\user1,SOME_DOMAIN\user2,SOME_DOMAIN\user3 admin users = SOME_DOMAIN\user1,SOME_DOMAIN\user3 read list = SOME_DOMAIN\user1 write list = SOME_DOMAIN\user1 read only = No guest ok = Yes hosts deny = host1 browseable = No Also why does it prompt for the username/password when i change the security option from server to domain. Pls help
I have two suggestions: 1. I would change your winbind separator. I think it's confusing if you use the default '\'. To do this add a line to your winbind segment that says: winbind separator = + 2. In my experience with "Secret is Bad", I had a 90% fix rate when I did the following Deleted all files under %sambaroot%\private Re-created the samba machine account using: %sambaroot%\bin\smbpasswd -a -m MACHINENAME$ Delete the computer account in the domain using Server Manager Re-joined the domain using: %sambaroot%\bin\smbpasswd -j DOMAINNAME -r PDCNAME Then check the secret again. As soon as you get your secret to report back good, it should stop asking you for username and password. Hope this helps !! Josh Konkol, CNE MCSE Senior Network Analyst GuideOne Insurance Mail Stop AB-1 515-267-2427 jkonkol@guidemail.com .~. /V\ /( )\ ^^-^^ -----Original Message----- From: Thamara Wanigatunga [mailto:thamara@jkcs.slt.lk] Sent: Wednesday, May 08, 2002 3:45 AM To: samba@lists.samba.org Subject: [Samba] Secret is bad Why do i get the message Secret is bad 0xc0000022 when i do a wbinfo -t?. Wbinfo -u and -g works. also getent passwd and groups also is working fine it shows all NT user stats. I shall attach my smb.conf # Global parameters [global] workgroup = SOME_DOMAIN netbios name = E15K security = SERVER encrypt passwords = Yes update encrypted = Yes password server = 10.10.255.251 socket options = TCP_NODELAY IPTOS_LOWDELAY os level = 33 wins server = 10.10.255.251 winbind uid = 10000-20000 winbind gid = 10000-20000 template homedir = /samba/shares/%D/%U template shell = /bin/sh guest account = ftp [TEST] comment = For testing only, Please path = /samba/shares/test username = SOME_DOMAIN\user1,user1 valid users = SOME_DOMAIN\user1,SOME_DOMAIN\user2,SOME_DOMAIN\user3 admin users = SOME_DOMAIN\user1,SOME_DOMAIN\user3 read list = SOME_DOMAIN\user1 write list = SOME_DOMAIN\user1 read only = No guest ok = Yes hosts deny = host1 browseable = No Also why does it prompt for the username/password when i change the security option from server to domain. Pls help -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Hello, I am having a problem with Samba. I am running Red Hat Linux v 8.0 with Samba v 2.2.8a. I am also using Squid v2.5.Stable2 for proxy access. The squid server is currently reporting the following errors: (wb_ntlmauth)[18251](wb_ntlm_auth.c:273): fgets() failed! dying..... errno=0 (Success) (wb_auth)[18263](wb_basic_auth.c:110): fgets() failed! dying..... errno=0 (Success) This gives me a gut feeling that samba is not able to authenticate to the windows domain. When I type /usr/local/samba/bin/wbinfo -t, the system returns secret is bad. I've attempted to reattach to the domain by doing the following: /usr/local/samba/bin/smbpasswd -j DOMAIN NAME -r DC NAME -U USERNAME The system does prompt me for a password and then returns JOINED DOMAIN. Is there something that I am missing? Any advise or suggestions would be greatly appreciated. Thank you kindly. -David CONFIDENTIALITY NOTICE: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of this information by persons or entities other than the intended recipient is prohibited. If you received this transmission in error, please contact the sender or call 800-333-5905 ext. 1259, and delete the material from all computers.