[Samba] newbie question

Gary Dale garydale at torfree.net
Tue Dec 12 22:16:09 GMT 2006


On part 2, did you restart xinetd?


javier rojas wrote:
> Hello,
>
> i know i'm a newbie, but here i go (help me lord), i just
> installed/configured samba 3.0.23d on my suse 10.1, but i have a
> couple of questions about what's on the manual....
>
> 1-  when trying to secure swat with ssl, i installed openssl, and then
> generate the certificates, but when i try to start the tunnel with:
>
> stunnel -p /etc/stunnel/stunnel.pem -d 901 \
>      -l /usr/local/samba/bin/swat swat
> i get:
> 2006.12.12 16:56:58 LOG3[4418:1]: -p: No such file or directory (2)
>
> Syntax:
> stunnel [<filename>] | -fd <n> | -help | -version | -sockets
>    <filename>  - use specified config file instead of 
> /etc/stunnel/stunnel.conf
>    -fd <n>     - read the config file from a file descriptor
>    -help       - get config file help
>    -version    - display version and defaults
>    -sockets    - display default socket options
>
> wich seems to be a bad option...it;s on the manual
> http://us5.samba.org/samba/docs/man/Samba-HOWTO-Collection/SWAT.html
>
> 2- even tough i cannot browse to swat, it's installed just as is says
> on the same page, i enable it on xinetd, but i cant browse it,
> everything is configured as it says, even on /etc/services, i mean i
> really don't know what to check next....
>
> 3- when starting samba i get this on the logs..:
>
> [2006/12/12 15:06:07, 1] nsswitch/winbindd.c:main(979)
>  winbindd version 3.0.22-13.18-SUSE-CODE10 started.
>  Copyright The Samba Team 2000-2004
> [2006/12/12 15:06:07, 0] 
> nsswitch/winbindd_util.c:winbindd_param_init(790)
>  winbindd: idmap uid range missing or invalid
> [2006/12/12 15:06:07, 0] 
> nsswitch/winbindd_util.c:winbindd_param_init(791)
>  winbindd: cannot continue, exiting.
> [2006/12/12 15:06:07, 1] nsswitch/winbindd.c:main(1012)
>  Could not init idmap -- netlogon proxy only
>
> i read that it could be a space on the uid line, but i got none!!,
> here's the smb.config:
> [global]
>        workgroup = BAV.com.ve
>        printing = cups
>        printcap name = cups
>        printcap cache time = 750
>        cups options = raw
>        map to guest = Bad User
>        include = /etc/samba/dhcp.conf
>        logon path = \\%L\profiles\.msprofile
>        logon home = \\%L\%U\.9xprofile
>        logon drive = P:
> [homes]
>        comment = Home Directories
>        valid users = %S, %D%w%S
>        browseable = No
>        read only = No
>        inherit acls = Yes
> [profiles]
>        comment = Network Profiles Service
>        path = %H
>        read only = No
>        store dos attributes = Yes
>        create mask = 0600
>        directory mask = 0700
> [users]
>        comment = All users
>        path = /home
>        read only = No
>        inherit acls = Yes
>        veto files = /aquota.user/groups/shares/
> [groups]
>        comment = All groups
>        path = /home/groups
>        read only = No
>        inherit acls = Yes
> [printers]
>        comment = All Printers
>        path = /var/tmp
>        printable = Yes
>        create mask = 0600
>        browseable = No
> [print$]
>        comment = Printer Drivers
>        path = /var/lib/samba/drivers
>        write list = @ntadmin root
>        force group = ntadmin
>        create mask = 0664
>        directory mask = 0775
>
> can anybody give me a hand, please?, i really don't know ehere to look 
> for.....
>



More information about the samba mailing list