[Samba] Solaris 10 - Samba authentication Question

CT groups at kewlcat.com
Mon Sep 15 14:05:23 GMT 2008


Solved..
I had to add
 passdb backend = smbpasswd

to the [global]

ct

> Let me try to clarify a bit more..
>
> Goal
> using security=user
> 3 Shares---------------Winshare
> ------------------------SunShare
> ----------------------- PrivateShare
>
> all users -------------- WinShare (no password prompt)
> all users---------------SunShare (no password prompt)
> -----------------------PrivateShare (prompt for username /password)
>
> Thx for any pointers
>
> ct
>> Greetings list:
>>
>> OS :        Solaris 10 (sparc)05/08
>> Samba version:     11.10.0,REV=2005.01.08.05.16
>>   I think his equates to on version 3.28
>>
>> Overview
>> We have 2 shares on UNIX side that are used
>> to transfer files from Windows to Solaris.
>> One share is read-only and the other is writable
>> This is working great for the users.
>> The current setting is :
>> security=share
>>
>> All clients are Windows XP.
>>
>> -----
>> Change We want to make
>> -----
>> We want to add a protected share for a certain number
>> of users to access via password.
>>
>> While not affecting the other shares
>> or
>> requiring users to enter a password.
>>
>> I know we will have to change to :
>> security=user
>>
>> After several attempts to accomplish this but have not had any success..
>>
>> What I have done:
>> Added a UNIX user to smbpasswd
>> Added a UNIX group to /etc/group and added the UNIX user.
>>
>> The below smb.conf does not work for the private area (logs).
>> It seems to *behave like* the security =share
>> as it pops up a "Greyed out box" with Guest in it
>> and prompts for a password.
>>
>> Thx
>> Charles
>>
>> Particulars
>> /etc/group             logs::700:charles
>> /etc/sfw/private/smbpasswd 
>> charles:104:9CEBF93A3F7BA80A8B0EA5A7DF135B03:7112CEA3B9A87EBEC3B84CC6066091DE:[U 
>>         ]:LCT-48CA6DF5:
>>
>> smb.conf (not working)
>>
>> [global]
>>         netbios name = samba
>>         server string = Samba Server
>>         workgroup = Workgroup
>>         security = user
>>         guest ok = yes
>>         map to guest = Bad User
>>         log file = /var/samba/log/log.%m
>>         dos filemode = Yes
>>         hide unreadable = Yes
>>         wins server = xxx.xxx.xxx.xxx
>>         encrypt passwords = Yes
>>         null passwords = Yes
>>         domain master = No
>>         dns proxy = No
>>         os level = 50
>>         hide special files = Yes
>>         dont descend = lost+found
>>         preferred master = no
>>         max log size = 50
>>         log level = 9
>>
>> [SUNshare]
>>         comment = SUN Share (read-only)
>>         path = /export/sunfiles
>>         force user = nobody4
>>         force group = nogroup
>>         inherit permissions = Yes
>>         inherit acls = Yes
>>         inherit owner = Yes
>>         dont descend =
>>
>> [WINshare]
>>         comment = Windows Share (write)
>>         path = /export/winfiles
>>         force user = nobody4
>>         force group = nogroup
>>         read only = No
>>         dont descend =
>>
>> [logs]
>>         comment = Logs Share
>>         path = /export/logs
>>         force group = logs
>>         guest ok = no
>>         write list = charles
>>
>>
>>
>



More information about the samba mailing list