Re: [Samba] Problem of access samba from rh8

2003-03-03 Thread Patrick Kwan
Hi Steve,

I do another test today, I changed my desktop to Gnome and use Nautilus
to access the samba server, I can access all shares this times.

It show that some wrong with the KDE's Konqueror or something else, I will
search the KDE's website wheather it's known problems or only my problem.

Right now, I'm using LinuxNeihgbourhood to browse the network and access
shares because I like to use KDE Desktop.


Patrick


 Hey Patrick,

 I have a similar issue that I have reported here before but I never got
 an  answer.

 The only difference I see between what you describe and what I see, is
 that I get an error dialog saying:

 You do not have sufficient permission to view Share. This is strange
 to  me since I appear to log on OK because I can see all the shares but
 I get  this message when I try to access one of them.

 I'm using RH8 with all the latest updates and these samba rpms

 samba-common-2.2.7-2
 samba-2.2.7-2
 samba-client-2.2.7-2

 I haven't had time to investigate this further so I would be interested
 in  anything that you find out.

 Steve.

 On 2003.03.02 20:45 Patrick Kwan wrote:
 Hello,

 I already setup a samba server as PDC for windows client to logon and
 working fine now with the following config:
 - redhat 7.3
 - samba 2.2.7a

 Then I try to access the samba share from Redhat 8, I can use
 smbclient to
 access the share without problem but I can't access the share with
 KDE's Konqueror (smb://NetbiosName/), it can show all shares, when I
 double one
 of share, it can show the login dialogue box, then I enter the correct
 username and password but nothing displayed, it seem to try connecting
 the
 share.

 So, I check the samba.log file, but it show that the user is connected
 to the service successfully.

 Any body have this issue before?
 --
 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] Problem of access samba from rh8

2003-03-02 Thread Patrick Kwan
Hello,

I already setup a samba server as PDC for windows client to logon and
working fine now with the following config:
- redhat 7.3
- samba 2.2.7a

Then I try to access the samba share from Redhat 8, I can use smbclient to
access the share without problem but I can't access the share with KDE's
Konqueror (smb://NetbiosName/), it can show all shares, when I double one
of share, it can show the login dialogue box, then I enter the correct
username and password but nothing displayed, it seem to try connecting the
share.

So, I check the samba.log file, but it show that the user is connected to
the service successfully.

Any body have this issue before?

Thanks for your kindly help!






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


[Samba] sync smbpasswd with system passwd

2002-12-16 Thread Patrick Kwan
Hi all,

I found a doc from redhat about how to sync users' Samba passwords with
their system passwords when the passwd command is used.

To enable this feature, add the following line to /etc/pam.d/system-auth
below the pam_cracklib.so invocation:

password required /lib/security/pam_smbpass.so nullok use_authtok
try_first_pass

*please compiled samba with --with-pam_smbpass firt and install the lib
to /lib/security

Ref. Link
http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-samba-configuring.html

My config:
Redhat 7.3
Samba 2.2.7a


Thanks

Patrick








-
This email was sent using SquirrelMail.
   Webmail for nuts!
http://pat.dyndns.info/webmail/


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



[Samba] sync /etc/passwd with samba's smbpasswd file

2002-12-15 Thread Patrick Kwan
Hi all,

I want to sync the password to smbpasswd when I change the
Linux system a/c password in /etc/passwd.

I have compiled samba with --with-pam_smbpasswd and install
the file pam_smbpass.so to /lib/security.

I have looked into the samba's source directory:
source/pam_smbpass/samples, their is a directory named
password-sync. How can I use this file to sync password from
 system a/c to smbpasswd a/c.

Or, there is another way to do that?


I can sync password from smbpasswd to /etc/passwd with the
following config in global:

[global]
unix password sync = true
passwd program   = /usr/bin/passwd %u
passwd chat= \
   *password* %n\n \
   *password* %n\n \
   *successful*

My system config:
Redhat 7.3
samba 2.2.7a

Many thanks!

Patrick








-
This email was sent using SquirrelMail.
   Webmail for nuts!
http://pat.dyndns.info/webmail/


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



[Samba] choose printing system between lpd and CUPS

2002-12-11 Thread Patrick Kwan
Hell all,

I want setup samba 2.2.7 as print server also for windows client
98/nt/2k/xp. My Redhat7.3 preinstall two print system: lpd and cups.

1. Are there any consideration issue I need to concern for choosing
between these two printing system to let my win clients to print to samba
server without trouble. For example, speed, quality, administrator.

2. Can anyone share their experiences using lpd or CUPS in samba?

3. When win client send a a print job (eg word doc) to samba share
printer,samba will store this file in a spool directory.

Does this file is a raw file that samba will send this file to printing
system without any printer option/filter used?

Or, the printing system will do some process according to printer driver
option/ filters.

4. If it is a raw file, does it means that it's doen't matter that which
printing system/printer drivers (for win client only) we use?

Please clarity me, Thanks!


Patrick







-
This email was sent using SquirrelMail.
   Webmail for nuts!
http://pat.dyndns.info/webmail/


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



[Samba] samba2.2.7 with cups 1.1.14

2002-12-11 Thread Patrick Kwan
Dearl all,

I have setup samba2.2.7 with cups1.1.14.

In win2k client, the browse the printer share and install the
 windows 2000 printer successfuly.

When I try to print some to it, nothing will be printed out.

I check the cups's error_log found the following message:
E [11/Dec/2002:20:35:43 +0800] print_job: Unsupported format
'application/octet-stream'!

Also, I check samba.log and the found the following message:
[2002/12/11 20:36:37, 0] printing/print_cups.c:cups_job_submit(654)
  Unable to print file to cs100 - client-error-document-format-not-supported

What I need to check to solve this problem?

Many thanks!

Patrick










-
This email was sent using SquirrelMail.
   Webmail for nuts!
http://pat.dyndns.info/webmail/


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



[Samba] admin users and printer admin in smb.conf

2002-12-08 Thread Patrick Kwan
I've create a user sambaroot to logon the samba2.2.7 PDC.

I found that If I set this as admin users and printer admin
at the same time, then I can't access/print to samba
 printer share when I login to PDC as user sambaroot.

Then I try remove user sambaroot from admin users, I can access
printer property and print to samba share printer.

Another issue is after I remove the user sambaroot from
admi users, then I try to logout and the system prompt that
Can't save the profile to server. I need to remove the profile
directory of user sambaroot from server then I can login and logout
without any problem.

Are these know issue or I have done something wrong?

My config:
samba 2.2.7
redhat 7.3

Thanks!

Patrick








-
This email was sent using SquirrelMail.
   Webmail for nuts!
http://pat.dyndns.info/webmail/


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



[Samba] can't connect to samba's printer

2002-12-07 Thread Patrick Kwan
Hi,

My samba serve work fine with file sharing.

I try to setup a printers share on samba 2.2.7 with the
following simple configuration (some are skip):

[global]
   printer admin = sambaroot
   load printers = yes
   security = user

[printers]
comment = All Printers
path = /tmp
printable = yes
guest ok = no

I logon to domain as sambaroot user (with admin right),
I can see the shared printer, when I double click it and
and click 'yes' to install the printer driver then it
prompt a message like
Unable to connect to printer, access is denied

What I need to check to solve it?

Config:
Rh7.3
samba 2.2.7
Clint pc: eng win2000 sp3

Thanks!

Patrick





-
This email was sent using SquirrelMail.
   Webmail for nuts!
http://pat.dyndns.info/webmail/


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



Re: [Samba] cant update roaming profile

2002-11-30 Thread Patrick Kwan
What language of windows your client using?
If it's not english, you may need to set the correct
client code  page=xxx in smb.conf.

In my experience, I use traditional chinese windows xp, I
need to set the
client code page = 950 then the profile save in the server.

Try it...


Patrick


 HI

 I've got a samba pdc set up but I've got a problem with the profiles.
 When I log off he says that he cant update the roaming profile and I've
 got to contact the system administrator...

 I guess I've got something wrong with permissions or so...

 Can someone help me ?

 Sander



-
This email was sent using SquirrelMail.
   Webmail for nuts!
http://pat.dyndns.info/webmail/


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



[Samba] Roaming user profile

2002-11-27 Thread Patrick Kwan
Hi all:

If I enable domain logon,
my client (Englisht win2000server and Traditional Chinese winxp Pro.)
will always save profile to the samba server.
How can I disable saving the user profile to the samba server
if domain login is enabled?

Even when I disable the logon path and [profiles] service in smb.conf
,the profile will also saved to user's home directory also.


Another problems is under the same samba server configureation,
Engish win2000 can save profile to the server but
Chinese win-xp can't even I enable the profile acls = yes in
smb.conf

are there any setting in win-xp to save user profile in server?

The following is my testing smb.conf file:


[global]
   admin users = root
   netbios name = samba
   workgroup = domain
   domain logons = yes
   domain master = yes
   local master = yes
#   logon drive = H:
#   logon home = \\%L\%u
   os level = 99
   preferred master = yes
   security = user
   wins support = yes
   encrypt passwords = yes
   logon script = logon.cmd
#  logon path = \\%N\profiles\%u
   profile acls = yes

[homes]
   create mode = 0600
   directory mode = 0700
   path = %H
   read only = no
   valid users = %S

[netlogon]
   path = /export/smb/netlogon

#[profiles]
#   path = /export/smb/ntprofile
#   read only = no
#   create mask = 0600
#   directory mask = 0700


Thanks!

Patrick





-
This email was sent using SquirrelMail.
   Webmail for nuts!
http://pat.dyndns.info/webmail/


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



[Samba] Compile Samba 2.2.7's option suggestion?

2002-11-24 Thread Patrick Kwan
Hell all:

Anyone can provide the suggestion of what options should use
basically when compiling samba 2.2.7?

My requirement:
-Samba server as PDC with user auth in the same machine.
-client: win98/NT4/win2000/win xp.
-printing support.

I'm confuse should I enable the --with-acl-support option in
my environment?

Thanks a lot!

Patrick















-
This email was sent using SquirrelMail.
   Webmail for nuts!
http://pat.dyndns.info/webmail/


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