Skip to end of metadata
Go to start of metadata

Setup

Folgend erstmal ein wenig SuSE-lastig beschrieben!


/etc/samba/smb.conf

[global]
        workgroup = TUX-NET
        printing = cups
        printcap name = cups
        printcap cache time = 750
        cups options = raw
        printer admin = @ntadmin, root, administrator
        username map = /etc/samba/smbusers
        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
        browseable = No
        read only = No
        inherit acls = Yes

/etc/samba/smbusers

 

/etc/samba/smbpasswd

 

for SWAT
/etc/services

swat            901/tcp

/etc/xinetd.d/swat

# SWAT is the Samba Web Administration Tool.
service swat
{
        socket_type     =  stream
        protocol        =  tcp
        wait            =  no
        user            =  root
        server          =  /usr/sbin/swat
        only_from       =  127.0.0.1
        log_on_failure  += USERID
        disable         =  no
}

nach einem xinetd restart sollte man auf port 901 auf den swat zugreifen können!

Wenn man sich nicht als root einloggen kann:

smbpasswd -a root
  • No labels