hi! i've been working with samba for one 25days yet i cant make it work. i am configuring samba for a board which is on mips-linux. all i want to have is when i will try to access my mips-linux board, it will ask me for a username and password. but what was happening is - WHEN I TRY TO ACCESS MY MIPS-LINUX BOARD, IT WILL ASK ME FOR A USERNAME AND PASSWROD, THEN I WILL TRY TO INPUT A USERNAME AND A CORRECT PASSWORD BUT I CANT GO IN! I've been trying a hundred of usernames but its not working.. below are a copy of a line of my /etc/passwd file: . . dianag$:*:501:502:Trust Account:/home/dianag$:/bin/bash dian:d5Cyy.W3M6rvU:510:514:dian (TimeSys BSP User):/home/dian:/bin/bash . . below is a copy of a line of my smbpasswd: . . dianag$:501:4B8A4614E53B8055AAD3B435B51404EE:F4D74586093798E91CE014337F533210:[W ]:LCT-41E7AAC2: dian:510:93371DEE1D5EE7E6AAD3B435B51404EE:002345674BD69C0387771E9D0C543210:[UX ]:LCT-41EA4D16: . . below is copy of my smb.conf file: [global] workgroup = WORKGROUP netbios name = rbtx4938_pc server string = %h server (samba %v) log level = 10 syslog = 0 log file = /usr/local/samba/var/log.%m encrypt passwords = Yes unix password sync = yes username level = 8 password level = 8 domain logons = yes security = user os level = 34 local master = yes preferred master = yes domain master = yes interfaces = 127.0.0.1/255.0.0.0 192.168.214.30/255.255.255.0 bind interfaces only = Yes #passdb backend is unknown parameter in my smb, i dont know why ;passdb backend = smbpasswd passwd program = /bin/passwd %u wins proxy = No wins server = 192.168.214.30 wins support = No winbind gid = 10000-20000 winbind uid = 10000-20000 [homes] path = /home writeable = yes browsable = yes guest ok = yes valid users = %S pls help me..im very desperate...my boss is killing me everyday...thanks in advance.. --------------------------------- Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 | pls help me..im very desperate...my boss is killing me everyday...thanks in advance.. Check the "Secure Read-Write File and Print Server" setup mentioned here. Some quick testing and validation procedures are included: http://us2.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id2443139 Jim C. - -- - ----------------------------------------------------------------- | I can be reached on the following Instant Messenger services: | |---------------------------------------------------------------| | MSN: j_c_llings @ hotmail.com AIM: WyteLi0n ICQ: 123291844 | |---------------------------------------------------------------| | Y!: j_c_llings Jabber: jcllings @ njs.netlab.cz | - ----------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB6iqg57L0B7uXm9oRAlSIAKCFe8K2fGfdk1UynzUR52kZoqIQMgCbBFyg hc0SFW64FaIcZcMyz0m4dtQ=DdKT -----END PGP SIGNATURE-----
Hi Diana, ;passdb backend = smbpasswd samba needs to know which passdb backend it should use so try passdb backend = /etc/samba/smbpasswd i recommend to read the samba faqs ( smbpasswd as backend works but better use a tdb or ldap ) testparm will help at debug Regards Diana Ross Guerrero schrieb:>hi! i've been working with samba for one 25days yet i cant make it work. i am configuring samba for a board which is on mips-linux. all i want to have is when i will try to access my mips-linux board, it will ask me for a username and password. but what was happening is - WHEN I TRY TO ACCESS MY MIPS-LINUX BOARD, IT WILL ASK ME FOR A USERNAME AND PASSWROD, THEN I WILL TRY TO INPUT A USERNAME AND A CORRECT PASSWORD BUT I CANT GO IN! I've been trying a hundred of usernames but its not working.. > >below are a copy of a line of my /etc/passwd file: >. >. >dianag$:*:501:502:Trust Account:/home/dianag$:/bin/bash >dian:d5Cyy.W3M6rvU:510:514:dian (TimeSys BSP User):/home/dian:/bin/bash >. >. > >below is a copy of a line of my smbpasswd: >. >. >dianag$:501:4B8A4614E53B8055AAD3B435B51404EE:F4D74586093798E91CE014337F533210:[W ]:LCT-41E7AAC2: >dian:510:93371DEE1D5EE7E6AAD3B435B51404EE:002345674BD69C0387771E9D0C543210:[UX ]:LCT-41EA4D16: >. >. > >below is copy of my smb.conf file: >[global] > workgroup = WORKGROUP > netbios name = rbtx4938_pc > server string = %h server (samba %v) > log level = 10 > syslog = 0 > log file = /usr/local/samba/var/log.%m > encrypt passwords = Yes > unix password sync = yes > username level = 8 > password level = 8 > domain logons = yes > security = user > os level = 34 > local master = yes > preferred master = yes > domain master = yes > interfaces = 127.0.0.1/255.0.0.0 192.168.214.30/255.255.255.0 > bind interfaces only = Yes >#passdb backend is unknown parameter in my smb, i dont know why > ;passdb backend = smbpasswd > passwd program = /bin/passwd %u > wins proxy = No > wins server = 192.168.214.30 > wins support = No > winbind gid = 10000-20000 > winbind uid = 10000-20000 > >[homes] > path = /home > writeable = yes > browsable = yes > guest ok = yes > valid users = %S > >pls help me..im very desperate...my boss is killing me everyday...thanks in advance.. > > > > >--------------------------------- >Do you Yahoo!? > Yahoo! Mail - 250MB free storage. Do more. Manage less. > >
Diana Ross Guerrero wrote:>hi! i've been working with samba for one 25days yet i cant make it work. i am configuring samba for a board which is on mips-linux. all i want to have is when i will try to access my mips-linux board, it will ask me for a username and password. but what was happening is - WHEN I TRY TO ACCESS MY MIPS-LINUX BOARD, IT WILL ASK ME FOR A USERNAME AND PASSWROD, THEN I WILL TRY TO INPUT A USERNAME AND A CORRECT PASSWORD BUT I CANT GO IN! >Try mapping the drive by \\ip-addy\sharename. Every time I have that problem this works.>I've been trying a hundred of usernames but its not working.. > >below are a copy of a line of my /etc/passwd file: >. >. >dianag$:*:501:502:Trust Account:/home/dianag$:/bin/bash >dian:d5Cyy.W3M6rvU:510:514:dian (TimeSys BSP User):/home/dian:/bin/bash >. >. > >below is a copy of a line of my smbpasswd: >. >. >dianag$:501:4B8A4614E53B8055AAD3B435B51404EE:F4D74586093798E91CE014337F533210:[W ]:LCT-41E7AAC2: >dian:510:93371DEE1D5EE7E6AAD3B435B51404EE:002345674BD69C0387771E9D0C543210:[UX ]:LCT-41EA4D16: >. >. > >below is copy of my smb.conf file: >[global] > workgroup = WORKGROUP > netbios name = rbtx4938_pc > server string = %h server (samba %v) > log level = 10 > syslog = 0 > log file = /usr/local/samba/var/log.%m > encrypt passwords = Yes > unix password sync = yes > username level = 8 > password level = 8 > domain logons = yes > security = user > os level = 34 > local master = yes > preferred master = yes > domain master = yes > interfaces = 127.0.0.1/255.0.0.0 192.168.214.30/255.255.255.0 > bind interfaces only = Yes >#passdb backend is unknown parameter in my smb, i dont know why > ;passdb backend = smbpasswd > passwd program = /bin/passwd %u > wins proxy = No > wins server = 192.168.214.30 > wins support = No > winbind gid = 10000-20000 > winbind uid = 10000-20000 > >[homes] > path = /home > writeable = yes > browsable = yes > guest ok = yes > valid users = %S > >pls help me..im very desperate...my boss is killing me everyday...thanks in advance.. > > > > >--------------------------------- >Do you Yahoo!? > Yahoo! Mail - 250MB free storage. Do more. Manage less. > >