[Samba] winbind / samba 2.2.8a

2003-09-09 Thread Lammersdorf, Lorenz
hi all,

i fail to connect a sambashare on a suse8.0/samba 2.2.8a machine:

/var/log/samba/log.smbd says:
[2003/09/09 13:50:35, 0]
rpc_client/cli_netlogon.c:cli_net_sam_logon_internal(406)
  cli_net_sam_logon_internal: NT_STATUS_NO_SUCH_USER
[2003/09/09 13:50:35, 0] smbd/password.c:domain_client_validate(1621)
  domain_client_validate: unable to validate password for user BACKUP in
domain WORKGROUP to Domain controller ffzx0sa0. Error was
NT_STATUS_NO_SUCH_USER.

smb.conf looks like that:
[global]
load printers = Yes
guest account = Nobody
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
preserve case = yes
wins server = 123.123.123.123
map to guest = Bad User
encrypt passwords = yes
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
passwd program = /usr/bin/smbpasswd -U %u
winbind uid = 1-2
template shell = /bin/bash
netbios name = ffzx0sa2
winbind enum users = yes
password server = ffzx0sa0
path = /
default = backup
unix password sync = yes
winbind gid = 1-2
workgroup = FFZR1R
winbind enum groups = yes
os level = 2
security = domain
short preserve case = yes
preferred master = no
winbind separator = /
interfaces = 123.456.789.0/255.255.0.0
 winbind use default domain = yes

#[homes]
#   comment = Home Directories
#   read only = No
#   create mask = 0640
#   directory mask = 0750
#   browseable = yes
#
# The following share gives all users access to the Server's CD drive,
# assuming it is mounted under /media/cdrom. To enable this share,
# please remove the semicolons before the lines
;[cdrom]
;   comment = Linux CD-ROM
;   path = /media/cdrom
;   locking = No

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No


[backup]
path = /home
writeable = no
force directory mode =444
directory mode = 444
force group = root
valid users = FFZR1R/backup
comment = Backup Freigabe
delete readonly = no
force user = root
browseable = yes

as you see, winbind tries to find the user in a domain WORKGROUP. in
smb.conf the domain is specified as FFZR1R., which is the right one (a
domain WORKGROUP doesn't exist).
i'm able to join the domain ffzr1r with this machine and getent passwd
delivers all users of domain ffzr1r and some other that are trustet to
ffzr1r. 
any ideas?

thanks  regards
lorenz
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] problems accessing samba-share with win xp (pro of course)

2003-08-14 Thread Lammersdorf, Lorenz
hi all, 

we need to access a debian 3 /samba 3 beta 2 share from w2k-clients and
xp-clients. my normal workstation is working under w2k, if i try to
connect the share it works fine, no matter if i use my own workstation or a
workstation running win xp.
if someone who has a xp-machine as normal workstation tries to connect, the
connetion to the samba-share is refused, no matter, if he tries from his
xp-machine or my w2k-machine.
googeling for that problem i found that xp uses another way to encrypt
password, but this should be fixed since samba 2.2.x. 

any ideas??

thanks in advance

lorenz

my smb.conf:

# NOTE: Whenever you modify this file you should run the command
# testparm to check that you have not many any basic syntactic
# errors.
#

#=== Global Settings ===

[global]
log file = /var/log/samba/log.%m
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spas
sword:* %n\n .
socket options = TCP_NODELAY
wins server = 130.10.116.10
encrypt passwords = true
passwd program = /usr/bin/passwd %u
#add user script = /usr/sbin/pw adduser %u
#delete user script = /usr/sbin/pw deleteuser %u
use spnego = no
pam password change = yes
server string = %h server (Samba %v)
invalid users = root
workgroup = ffzr1r
os level = 2
name resolve order = wins bcast
security = domain
syslog = 0
preferred master = no
panic action = /usr/share/samba/panic-action %d
max log size = 1000
password server = *
netbios name = ffzx0sa3
domain master = no
preferred master = no
idmap uid = 1-2
idmap gid = 1-2
winbind use default domain = yes
winbind separator = /
winbind uid = 1-2
winbind gid = 1-2
winbind enum users = yes
winbind enum groups = yes
template shell = /bin/false

#template shell = /bin/bash
template homedir = /home/%D/%u
[homes]
   comment = Home Directories
   browseable = no

# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
   writable = no

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
   create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want
to
# create dirs. with group=rw permissions, set next parameter to 0775.
   directory mask = 0700

# Un-comment the following and create the netlogon directory for Domain
Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
;   comment = Network Logon Service
;   path = /home/samba/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no

[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode = 0700

# A sample share for sharing your CD-ROM with others.
;[cdrom]
;   comment = Samba server's CD-ROM
;   writable = no
;   locking = no
;   path = /cdrom
;   public = yes

# The next two parameters show how to auto-mount a CD-ROM when the
#   cdrom share is accesed. For this to work /etc/fstab must contain
#   an entry like this:
#
#   /dev/scd0   /cdrom  iso9660 defaults,noauto,ro,user   0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
#   is mounted on /cdrom
#
;   preexec = /bin/mount /cdrom
;   postexec = /bin/umount /cdrom

[adminstuff]
comment = Administrations Freigabe
writeable = yes
delete readonly = yes
directory mode = 777
force directory mode = 777
create mode = 777
force create mode = 777
path = /share
valid users = @IT-Service_glb,f996299,r997693,f992849,r992849
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] access to samba share using samba 3.0 b2

2003-08-01 Thread Lammersdorf, Lorenz
hi all,

we made a smaba share on a debian 3 /samba 3 b2 machine, that is accessed by
a number of windows-users. some of those users can access the share, some
not. for those who are not able to access the share i found in
/var/log/samba/log.machinename get_user_groups_from_local_sam: failed to
convert gid 0 to a sid!. any ideas?

regards
lorenz
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] samba 3.0 bete 1.1 on debian

2003-07-15 Thread Lammersdorf, Lorenz
hi all,

if we try to check the secret with wbinfo -t we get the error message
NT_STATUS_PIPE_NOT_AVAILABLE. all the other stuff, wbinfo -u, getent
passwd and so on, works. 
does anyone know the meaning of this errormessage?

regards
l. lammersdorf
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


AW: [Samba] Win XP home

2003-07-11 Thread Lammersdorf, Lorenz
hi david,

yes win xp home does not support real networks. it is not possible to
access a dc. if you need network-support you have to use win xp pro.

regards
lorenz

-Ursprüngliche Nachricht-
Von: Davide Parise [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 11. Juli 2003 11:03
An: Samba
Betreff: [Samba] Win XP home


How can I join a Win XP home edition to a samba domain? It seems it support
only workgroups !!

Bye


Davide Parise
E-Mail: [EMAIL PROTECTED]
Cel.: +39 063640
FAX:  +39 06233241981


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] german umlaut and samba 3

2003-06-16 Thread Lammersdorf, Lorenz
hi all,

we want to use samba to connect a windows machine and a linux server, the
linux machine should read the windows-filesystem to backup it. in samba 2.xx
we wasn't able to teach samba the german umlauts or filenames containing a
blank. we tried the character substitution in smb.conf and of course we
called smbmount with iocharset=iso8859-1,codepage=cp850, but unforunatly it
doesn't work. are there any changes in samba 3 that may help us solving this
problem?

thnx in advance
ldf
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba