Re: [Samba] windows 7 cannot connect

2011-08-10 Thread Anders Norrbring

Robert Adkins II skrev 2011-08-10 14:28:


No, you do not need to turn off all of that on Windows 7. I have had no
issues with connecting 7 different Windows 7 Professional workstations into
my network. Most of the systems here are running Windows XP Professional and
are joined to the domain.

The only issue that I have had is joining the Windows 7 systems into the
domain. I understand that it might be possible, but I haven't had the time
to really dig into that.

There might be some authentication elements within smb.conf to adjust to
allow the Windows 7 systems to authenticate users on the network, but I may
have made those adjustments quite some time ago in order to allow Windows
95, 98, NT 4.0 and Windows 2000 to all join the domain in their various
ways.

All you need is to have the Windows 7 machines in the workgroup of the
Domain or the workgroup, then create individual user accounts on the Windows
7 machines that mirror the account user IDs and passwords on the Samba
server.

Regards,
Robert Adkins II



Robert, it's easy to join a samba domain, here's how..
http://wiki.samba.org/index.php/Windows7

Anders





-Original Message-
From: samba-boun...@lists.samba.org
[mailto:samba-boun...@lists.samba.org] On Behalf Of Gregory Carter
Sent: Tuesday, August 09, 2011 2:51 PM
To: samba@lists.samba.org
Subject: Re: [Samba] windows 7 cannot connect

On 08/09/2011 01:42 PM, Marc Fromm wrote:

I just set up my first windows 7 desktop.

My condolences.


   When I try to map a drive to the red hat linux samba

share it complains that the "server cannot perform the
requested operation." Windows XP machines work with no problem.
First, I would remove all security contexts from the Windows 7
workstation.  Turn the firewall off.   Turn off your virus
software/security software.

Try again.

The linux samba information:
[root@finaid45 samba]$ rpm -qa | grep smb
pam_smb-1.1.7-7.2.1
libsmbclient-3.0.33-3.29.el5_6.2
gnome-vfs2-smb-2.16.2-8.el5

[root@finaid45 samba]$ rpm -qa | grep samba
samba-client-3.0.33-3.29.el5_6.2
samba-common-3.0.33-3.29.el5_6.2
samba-3.0.33-3.29.el5_6.2
system-config-samba-1.2.41-5.el5




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





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


Re: [Samba] Can't see shares...

2011-08-09 Thread Anders Norrbring
> > I just saw that the Samba server is in workgroup 'WORKGROUP' instead
> of
> > 'NORRBRING' that is set in smb.conf. I don't know where to look for
> > problems, please do advice and give me ideas.
> 
> It seems that you do not edit proper smb.conf.
> 
> What path of smb.conf you have edited?
> Does "testparm" command show settings expected?
> Have you restarted Samba?
> 
> ---
> TAKAHASHI Motonobu 

Yes, it's the right file, /etc/samba/smb.com
When I rebooted the system, the server was in the right workgroup
'NORRBRING'.

Testparm give me this:
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[store0]"
Processing section "[store1]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
 
[global]
workgroup = NORRBRING
map to guest = Bad User
passdb backend = tdbsam
domain master = No
wins support = Yes
wide links = Yes
 
[store0]
comment = store0
path = /store0
valid users = anders
force user = anders
force group = users
read only = No
create mask = 0644
inherit acls = Yes
 
[store1]
comment = store1
path = /store1

Which is absolutely correct.

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


Re: [Samba] Can't see shares...

2011-07-30 Thread Anders Norrbring
I just saw that the Samba server is in workgroup 'WORKGROUP' instead of
'NORRBRING' that is set in smb.conf. I don't know where to look for
problems, please do advice and give me ideas.

beata:~ # net domain 
Enter root's password:
 
Enumerating domains:
 
Domain name  Server name of Browse Master
-
NORRBRINGNAS
WORKGROUPBEATA


> I can't figure out what's wrong with my config, I can see the share
> \\beata\anders, but not store0 or store1;
> 
> 
> # smb.conf is the main Samba configuration file. You find a full
> commented
> # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if
> the
> # samba-doc package is installed.
> # Date: 2011-03-01
> [global]
> workgroup = NORRBRING
> passdb backend = tdbsam
> # 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:
> usershare allow guests = No
> # add machine script = /usr/sbin/useradd  -c Machine -d
> /var/lib/nobody -s /bin/false %m$
> domain logons = No
> domain master = No
> security = user
> wide links = Yes
> wins server = 192.168.111.10
> wins support = Yes
> 
> [store0]
> comment = store0
> create mask = 644
> force group = users
> force user = anders
> guest ok = No
> inherit acls = Yes
> path = /store0
> follow symlinks = Yes
> read only = No
> valid users = anders
> writeable = Yes
> 
> [store1]
> comment = store1
> create mask = 644
> force group = users
> force user = anders
> guest ok = No
> inherit acls = Yes
> path = /store1
> follow symlinks = Yes
> read only = No
> valid users = anders
> writeable = Yes
> 
> User anders is added with smbpasswd. Samba is version 3.5.7
> 
> /Anders
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

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


[Samba] Can't see shares...

2011-07-29 Thread Anders Norrbring
I can't figure out what's wrong with my config, I can see the share
\\beata\anders, but not store0 or store1;


# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2011-03-01
[global]
workgroup = NORRBRING
passdb backend = tdbsam
# 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:
usershare allow guests = No
# add machine script = /usr/sbin/useradd  -c Machine -d
/var/lib/nobody -s /bin/false %m$
domain logons = No
domain master = No
security = user
wide links = Yes
wins server = 192.168.111.10
wins support = Yes

[store0]
comment = store0
create mask = 644
force group = users
force user = anders
guest ok = No
inherit acls = Yes
path = /store0
follow symlinks = Yes
read only = No
valid users = anders
writeable = Yes

[store1]
comment = store1
create mask = 644
force group = users
force user = anders
guest ok = No
inherit acls = Yes
path = /store1
follow symlinks = Yes
read only = No
valid users = anders
writeable = Yes

User anders is added with smbpasswd. Samba is version 3.5.7

/Anders

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


Re: SV: Re[2]: [Samba] net use /home ?

2009-03-21 Thread Anders Norrbring

Anders Norrbring skrev:

On Fri, 13 Feb 2009 08:44:07 -0500 John Drescher 
wrote:

JD> > It works alright, and all users have full access to their own
home
JD> > directories. Also, say user "elsa" logs in. She won't get a
mapping to
JD> > \\server\elsa via the 'net use j: /home' command, but she will
get full
JD> > access with 'net use j: \\server\elsa'
JD> >
JD> > Go figure.. Also, nothing really changed on the system apart from
upgrading
JD> > the samba package from 2 to 3.2.8, that's the strange thing..
JD> >
JD> I am sorry.. I see now.

JD> I have always used the UNC path.

Samba 3.2.4 on Vista SP1

C:\Users\jj>net use g: /home
Drive g: is now connected to \\PDC\jj. Your home directory is g:\.

If it´s a samba issue (which I doubt) it have to be between 3.2.4 and
3.2.8

What's the result of "set home" on your windows machines?

C:\Users\jj>set home
HOMEDRIVE=h:
HOMEPATH=\
HOMESHARE=\\PDC\jj

I suppose the command: net use drive /home
uses the value of HOMESHARE


--
Jean-Jacques   Moulis  Tel:  (013) 281684
ISYFax:  (013) 139282
Linköping UniversityE-mail: j...@isy.liu.se
581 83 Linköping




Well.. Since I can't connect to the '/home' share, I don't get much out of it 
all..

Vista Business SP1:
C:\Users\anders>net use * /home
Det går inte att identifiera användarens arbetskatalog.

Du kan få mer hjälp genom att skriva NET HELPMSG 3915.

C:\Users\anders>set home
HOMEDRIVE=C:
HOMEPATH=\Users\anders


And on one of the WinXP machines:
J:\>net use * /home
Det går inte att identifiera användarens arbetskatalog.

Du kan få mer hjälp genom att skriva NET HELPMSG 3915.


J:\>set home
HOMEDRIVE=J:
HOMEPATH=\
HOMESHARE=\\beata\anders

  


I still haven't found the cause of this problem, so I'm turning to you 
fellows on the list again...


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


SV: Re[2]: [Samba] net use /home ?

2009-02-16 Thread Anders Norrbring
> On Fri, 13 Feb 2009 08:44:07 -0500 John Drescher 
> wrote:
> 
> JD> > It works alright, and all users have full access to their own
> home
> JD> > directories. Also, say user "elsa" logs in. She won't get a
> mapping to
> JD> > \\server\elsa via the 'net use j: /home' command, but she will
> get full
> JD> > access with 'net use j: \\server\elsa'
> JD> >
> JD> > Go figure.. Also, nothing really changed on the system apart from
> upgrading
> JD> > the samba package from 2 to 3.2.8, that's the strange thing..
> JD> >
> JD> I am sorry.. I see now.
> 
> JD> I have always used the UNC path.
> 
> Samba 3.2.4 on Vista SP1
> 
> C:\Users\jj>net use g: /home
> Drive g: is now connected to \\PDC\jj. Your home directory is g:\.
> 
> If it´s a samba issue (which I doubt) it have to be between 3.2.4 and
> 3.2.8
> 
> What's the result of "set home" on your windows machines?
> 
> C:\Users\jj>set home
> HOMEDRIVE=h:
> HOMEPATH=\
> HOMESHARE=\\PDC\jj
> 
> I suppose the command: net use drive /home
> uses the value of HOMESHARE
> 
> 
> --
> Jean-Jacques   Moulis  Tel:  (013) 281684
> ISYFax:  (013) 139282
> Linköping UniversityE-mail: j...@isy.liu.se
> 581 83 Linköping


Well.. Since I can't connect to the '/home' share, I don't get much out of it 
all..

Vista Business SP1:
C:\Users\anders>net use * /home
Det går inte att identifiera användarens arbetskatalog.

Du kan få mer hjälp genom att skriva NET HELPMSG 3915.

C:\Users\anders>set home
HOMEDRIVE=C:
HOMEPATH=\Users\anders


And on one of the WinXP machines:
J:\>net use * /home
Det går inte att identifiera användarens arbetskatalog.

Du kan få mer hjälp genom att skriva NET HELPMSG 3915.


J:\>set home
HOMEDRIVE=J:
HOMEPATH=\
HOMESHARE=\\beata\anders


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


SV: [Samba] net use /home ?

2009-02-14 Thread Anders Norrbring
>>On 2/13/2009, John Drescher (dresche...@gmail.com) wrote:
>> Go figure.. Also, nothing really changed on the system apart from 
>> upgrading the samba package from 2 to 3.2.8, that's the strange thing..
>
>Considering that is a HUGE jump in versions, should you really be surprised 
>that there are some issues?
>
>-- 
>
>Best regards,
>
>Charles

First I want to emphasize that I am really, really, working on trying to be 
nice, and not a complete ass.
That said, no Charles, I didn't expect it to go by without issues. But after 
reading up, well -browsing, the change logs and upgrade infos available, I came 
up with that I had to add indexes to LDAP, which I did and that went smooth as 
expected. 

However I did NOT find anything in those documents about mapping to /home.
If I had seen any info on that, I wouldn't call for advice on this list. Would 
I?

I guess my question was 'is it deprecated', or am I missing something..? The 
question stands.

With wishes for a wonderful weekend,
Anders. (-20.6 C)
Certified ass.

(and CNE, MCNE, CNI, CCNA, CCDA, MCP, MCNE, MCTS, MCA, CLDA, CLA, CLP, and then 
some.) Sorry, could not resist.


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


Re: [Samba] net use /home ?

2009-02-13 Thread Anders Norrbring

Rob Shinn skrev:

Did you try 'net use x: \\servername\loginname'? If that doesn't work
the other command won't work either.
  


Yes I did.. And both variants worked yesterday with Samba 2...


On 2/13/09, Anders Norrbring  wrote:
  

Is 'net use x: /home' deprecated nowadays? I just upgraded a very old Samba
2 to 3.2.8 and suddenly no workstations at all can use that command to map
to their home directories.
Workstations are W2k, Win XP and Vista in a mix. Neither work.

Samba use LDAP as back end, and the related posts in smb.conf are these:

logon path = \\%L\profiles\%U\.msprofile
logon script = login.bat
logon home = \\%L\%U\.9xprofile
logon drive = J:

[homes]
comment = Home
valid users = %S, %D%w%S
browseable = no
read only = No
inherit acls = Yes
guest ok = no
printable = no

Ideas are welcome!
Anders.

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




  



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


Re: [Samba] net use /home ?

2009-02-13 Thread Anders Norrbring

John Drescher skrev:

Is 'net use x: /home' deprecated nowadays? I just upgraded a very old Samba 2 
to 3.2.8 and suddenly no workstations at all can use that command to map to 
their home directories.
Workstations are W2k, Win XP and Vista in a mix. Neither work.




It works for me (in my department) and has been working from NT4 to
windows 2003 and samba 3.0.4 to samba 3.0.34. I do not have vista
installed on my network so I can not comment on that.

  

Samba use LDAP as back end, and the related posts in smb.conf are these:

logon path = \\%L\profiles\%U\.msprofile
logon script = login.bat
logon home = \\%L\%U\.9xprofile
logon drive = J:

[homes]
   comment = Home
   valid users = %S, %D%w%S
   browseable = no
   read only = No
   inherit acls = Yes
   guest ok = no
   printable = no

Ideas are welcome!
Anders.



I would start testing by commenting out valid users and making sure
that the POSIX permissions allow the users access to the folders that
you are trying to share.

John
  


It works alright, and all users have full access to their own home 
directories. Also, say user "elsa" logs in. She won't get a mapping to 
\\server\elsa via the 'net use j: /home' command, but she will get full 
access with 'net use j: \\server\elsa'


Go figure.. Also, nothing really changed on the system apart from 
upgrading the samba package from 2 to 3.2.8, that's the strange thing..


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


[Samba] net use /home ?

2009-02-13 Thread Anders Norrbring
Is 'net use x: /home' deprecated nowadays? I just upgraded a very old Samba 2 
to 3.2.8 and suddenly no workstations at all can use that command to map to 
their home directories.
Workstations are W2k, Win XP and Vista in a mix. Neither work.

Samba use LDAP as back end, and the related posts in smb.conf are these:

logon path = \\%L\profiles\%U\.msprofile
logon script = login.bat
logon home = \\%L\%U\.9xprofile
logon drive = J:

[homes]
comment = Home
valid users = %S, %D%w%S
browseable = no
read only = No
inherit acls = Yes
guest ok = no
printable = no

Ideas are welcome!
Anders.

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


Re: [Samba] Getting rid of old network

2007-07-28 Thread Anders Norrbring

Josh Kelley skrev:

On 7/27/07, Anders Norrbring <[EMAIL PROTECTED]> wrote:

Nope.. That didn't do it.. nmbd still tries to query the non-existant
network;
[2007/07/27 07:06:27, 0]
nmbd/nmbd_browsesync.c:get_domain_master_name_node_status_fail(488)
   get_domain_master_name_node_status_fail:
   Doing a node status request to the domain master browser at IP
192.168.100.10 failed.
   Cannot get workgroup name.

It must be cached somewhere in a Samba binary file.. And it must be
possible to clean it out, but I can't find how..


Based on the TDB list at
http://wiki.samba.org/index.php/Frequently_Asked_Questions, I'd guess
that the information is kept in wins.tdb, which is probably in
/var/lib/samba or /var/cache/samba depending on your setup.

Josh Kelley


Thanks Josh,
actually it was wins.dat and browse.dat that had the entries cached. 
When I deleted those two and restarted nmbd, everything worked fine.

Thanks for pointing me in the right direction!

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


Re: [Samba] Getting rid of old network

2007-07-26 Thread Anders Norrbring

Ray Anderson skrev:

 Just had this problem.

Check your interfaces line in your smb.conf -- I fixed mine by changing 
from an IP to eth0 <- substitute your actual eth device.


-=Ray


Anders Norrbring wrote:
I can't get rid of an old network I had configured on my Samba server, 
it was PDC on two subnets, and one of those nets are now gone.

Still Samba tries to become PDC on the subnet (192.168.100.10).

So, in my logs I get hundreds of these messages;

[2007/07/26 22:38:57, 0] 
nmbd/nmbd_browsesync.c:get_domain_master_name_node_status_fail(488)

  get_domain_master_name_node_status_fail:
  Doing a node status request to the domain master browser at IP 
192.168.100.10 failed.

  Cannot get workgroup name.

How can I clear that out?

Anders.



Nope.. That didn't do it.. nmbd still tries to query the non-existant 
network;
[2007/07/27 07:06:27, 0] 
nmbd/nmbd_browsesync.c:get_domain_master_name_node_status_fail(488)

  get_domain_master_name_node_status_fail:
  Doing a node status request to the domain master browser at IP 
192.168.100.10 failed.

  Cannot get workgroup name.

It must be cached somewhere in a Samba binary file.. And it must be 
possible to clean it out, but I can't find how..


Anders.


Anders.

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


[Samba] Getting rid of old network

2007-07-26 Thread Anders Norrbring
I can't get rid of an old network I had configured on my Samba server, 
it was PDC on two subnets, and one of those nets are now gone.

Still Samba tries to become PDC on the subnet (192.168.100.10).

So, in my logs I get hundreds of these messages;

[2007/07/26 22:38:57, 0] 
nmbd/nmbd_browsesync.c:get_domain_master_name_node_status_fail(488)

  get_domain_master_name_node_status_fail:
  Doing a node status request to the domain master browser at IP 
192.168.100.10 failed.

  Cannot get workgroup name.

How can I clear that out?

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


Re: [Samba] domain or not domain?

2007-07-24 Thread Anders Norrbring

Favero Roger skrev:

Hi all,

that's my first post in this mailing list. I'm looking for a very
special and strange samba configuration (at least from my point of view
and my experience) and I'm not sure it is possible to reach this goal.

Anyway, this is my request:

I'm running a M$ Windows 2003 Serve as PDC with Active Directory and
file server, and I would like to configure in a Linux machine a
directory shared either from some domain's user or from some samba
(only, not domain's user) users. In your opinion is it possible?

 


This request is due to the need to let some files available to some
external agents when they visit our offices, but I don't want to give
them a Domain account to avoid let them able to browse others shares in
the windows file server. So, if it is possible to set up a machine where
I can authenticate either domain's user or not domain's user I solved my
problem in a easy a clean way.

 


Any idea about?


If I understand you correctly, you just need a standalone Samba server? 
Only accounts that are *not* in your PDC will access it?
If that's your goal, it's easy, just set up the Samba server as 
stand-alone, and do not join it in the domain. Then you manage all 
access on that Samba server locally.


Anders.

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


[Samba] Latest update gives me problems.

2007-07-20 Thread Anders Norrbring

Hiya..
I got a new Samba for my SUSE 10.1 x86_64 by automatic update last
night, and now all of a sudden my Vista workstation won't connect to the
shares automatically.
I have the machine as a domain controller with LDAP backend, and it's
been working flawless until the new update to samba-3.0.22-13.32.

My log.smbd shows this as the workstation logs in, and asks for
username/password, which it has NEVER done before:

[2007/07/20 10:31:25, 0] smbd/server.c:main(805)
 smbd version 3.0.22-13.32-1354-SUSE-CODE10 started.
 Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/07/20 10:34:48, 0] lib/util_sock.c:get_peer_addr(1225)
 getpeername failed. Error was Transport endpoint is not connected
[2007/07/20 10:34:48, 0] lib/util_sock.c:write_data(557)
 write_data: write failure in writing to client 192.168.111.30. Error 
Connection reset by peer

[2007/07/20 10:34:48, 0] lib/util_sock.c:send_smb(765)
 Error writing 4 bytes to client. -1. (Connection reset by peer)
[2007/07/20 10:35:22, 1] smbd/service.c:make_connection_snum(700)
 hilda (192.168.111.30) connect to service profiles initially as user 
anders (uid=1002, gid=1001) (pid 5548)

[2007/07/20 10:35:25, 1] smbd/service.c:make_connection_snum(700)
 hilda (192.168.111.30) connect to service anders initially as user 
anders (uid=1002, gid=1001) (pid 5548)

[2007/07/20 10:35:27, 1] smbd/service.c:make_connection_snum(700)
 hilda (192.168.111.30) connect to service netlogon initially as user 
anders (uid=1002, gid=1001) (pid 5548)

[2007/07/20 10:35:32, 1] smbd/service.c:close_cnum(897)
 hilda (192.168.111.30) closed connection to service profiles
[2007/07/20 10:35:38, 1] smbd/service.c:close_cnum(897)
 hilda (192.168.111.30) closed connection to service anders
[2007/07/20 10:36:00, 1] smbd/service.c:close_cnum(897)
 hilda (192.168.111.30) closed connection to service netlogon



Then I enter username/pass for the share, and log shows:
[2007/07/20 10:41:23, 1] smbd/service.c:make_connection_snum(700)
 hilda (192.168.111.30) connect to service anders initially as user 
anders (uid=1002, gid=1001) (pid 5648)

[2007/07/20 10:41:23, 1] smbd/service.c:make_connection_snum(700)
 hilda (192.168.111.30) connect to service netlogon initially as user 
anders (uid=1002, gid=1001) (pid 5648)



Then the login script tries to connect to the second share, asks for 
username and password again, I enter it, and the Vista net utility 
replies with system error 1219.


Then I tried to use the "expanded" net use format, like this:
net use * \\beata\firman /U:NORRBRING\anders "the_password"
and that worked fine.

Next attempt was:
net use * \\beata\firman /U:NORRBRING\anders
Then it asked for password, and I hit  and got connected to the 
share.


Maybe I should also mention that the profile is updated correctly on the 
server, so all changes are updated in the .msprofile.V2 directory.


Any ideas on all of this?

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


SV: [Samba] How to access HP 1125c printer and Hp designjet 330 plotterconnected in Win98 from RedHatLinux 8.0 and Mandrake 9.0

2004-03-03 Thread Anders Norrbring
> -Ursprungligt meddelande-
> 
> hi everybody,
> how to acccess HP 1125c and HP 330 pltter connected in win98 from RH
> 8.0 and Mandrake 9.0. Since it is a part of the network so it is not
> possible for me to connect the devices to Linux machine and access it from
> Win98.
> But there must be someway to access resources connected in win98 from
> linux . Plz tell me how can I do this.
> Thanks in advance.


Just share it from your windows box and then use CUPS to connect to it.

Anders.

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


RE: [Samba] Samba Gigabit very very slow?

2004-02-28 Thread Anders Norrbring
> Hi!
> 
> I´m having trubbles with the speed on my samba server,
> I just uppgraded to gigabit (Realtek 8169 NIC) at home when i copy stuff from the 
> samba
> server i get around 5-6Mb/sec
> and if i use ftp to access the same file on the same server i get almost 30Mb/sec 
> does
> anyone have a clue what causes this problem? When i used my old 3com 905c for the 
> local
> net i got normal 100Mbit speed (around 10-12Mb/sec)
> 
> My system:
> 
> Debian Unstable
> Kernel 2.6.3
> Athlon XP 2200+
> 512Mb DDR
> 2x 120Gb hdd
> Realtek 8169 Gigabit NIC
> 3Com 905c 10/100Mbit


I don't have any clues, but I have the exact same problem. Also with a RTL8169 card. 
Same
effect, although on a SuSE box.

Anders Norrbring


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


RE: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVERWITHSAMBA

2004-02-17 Thread Anders Norrbring

Around 60 would be my guess...


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:samba-
> [EMAIL PROTECTED] On Behalf Of Michael Aldrich
> Sent: den 17 februari 2004 16:26
> To: zynkx; [EMAIL PROTECTED]
> Subject: RE: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER
> SERVERWITHSAMBA
> 
> has everyone received this 20 times?
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf
> Of zynkx
> Sent: Tuesday, February 17, 2004 10:00 AM
> To: [EMAIL PROTECTED]
> Subject: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER
> WITHSAMBA
> 
> 
> hi all and thanks in advance for reading this
> 
> i have worked with samba for a while, sharing drives on
>  my linux boxes and all went well until now.
> 
> now, i tried to share a printer.
> 
> 1 i setup a printer in a box with cups. the printer is
> working fine in that host printing everything as it is
> told.
> 
> 2 i tried to share the printer to:
>  2.1 one windows wrokstation in the lan
>  2.2 two linux boxes on the lan
> 
> with the following config file:
> [global]
>workgroup = PRINTSERVER
>netbios name = NEPTUN
>server string = neptun print server
>log file = /var/log/samba/log.%m
>max log size = 50
>security = share
>encrypt passwords = yes
>socket options = TCP_NODELAY SO_RCVBUF=8192
> SO_SNDBUF=8192
>printcap name = lpstat
>printing = cups
> [printers]
>comment = All Printers
>printer = hp_670C
>path = /var/spool/samba
>browseable = no
>guest ok = yes
>writable = no
>printable = yes
>create mode = 0700
>print command = lpr -P %p -o raw %s -r
>lpq command = lpstat -o %p
>lprm command = cancel %p-%j
>use client driver = yes
> 
> i then made the client configuration on the windows
> workstation, and windows is printing well to my linux
> printing server with samba. it shares drives and the
> printer without any kind of problem.
> 
> the problem is that i cannot print form my linux boxes
> to that shared printer...
> 
> on linux boxes i made the following
> 
> 1 configured one printer queue with cups linking the
> smbspool to /usr/lib/cups/backend/
> 
> ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb
> 
> 2 loaded the driver for hp 670c in cups
> 
> 3 tried to print a test page and i did it successfully
> 
> now... the only thing is that i am only able to print
> test pages... and i can't figure out the command line
> options to print from my linux print clients to my
> linux print server...
> 
> windows is doing fine though.
> 
> other thing is that when I:
> 
> smbclient //neptun/printers
> 
> i can mount the share but it does not print.
> 
> 
> 
> 
> -
> Email Enviado utilizando o serviço MegaMail
> --
> 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
> 
> __ NOD32 1.626 (20040217) Information __
> 
> This message was checked by NOD32 antivirus system.
> http://www.nod32.com


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


RE: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITHSAMBA

2004-02-17 Thread Anders Norrbring


How many dozens of times are you going to post the same message? 


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:samba-
> [EMAIL PROTECTED] On Behalf Of zynkx
> Sent: den 17 februari 2004 16:00
> To: [EMAIL PROTECTED]
> Subject: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER
> WITHSAMBA
> 
> hi all and thanks in advance for reading this
> 
> i have worked with samba for a while, sharing drives on
>  my linux boxes and all went well until now.
> 
> now, i tried to share a printer.
> 
> 1 i setup a printer in a box with cups. the printer is
> working fine in that host printing everything as it is
> told.
> 
> 2 i tried to share the printer to:
>  2.1 one windows wrokstation in the lan
>  2.2 two linux boxes on the lan
> 
> with the following config file:
> [global]
>workgroup = PRINTSERVER
>netbios name = NEPTUN
>server string = neptun print server
>log file = /var/log/samba/log.%m
>max log size = 50
>security = share
>encrypt passwords = yes
>socket options = TCP_NODELAY SO_RCVBUF=8192
> SO_SNDBUF=8192
>printcap name = lpstat
>printing = cups
> [printers]
>comment = All Printers
>printer = hp_670C
>path = /var/spool/samba
>browseable = no
>guest ok = yes
>writable = no
>printable = yes
>create mode = 0700
>print command = lpr -P %p -o raw %s -r
>lpq command = lpstat -o %p
>lprm command = cancel %p-%j
>use client driver = yes
> 
> i then made the client configuration on the windows
> workstation, and windows is printing well to my linux
> printing server with samba. it shares drives and the
> printer without any kind of problem.
> 
> the problem is that i cannot print form my linux boxes
> to that shared printer...
> 
> on linux boxes i made the following
> 
> 1 configured one printer queue with cups linking the
> smbspool to /usr/lib/cups/backend/
> 
> ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb
> 
> 2 loaded the driver for hp 670c in cups
> 
> 3 tried to print a test page and i did it successfully
> 
> now... the only thing is that i am only able to print
> test pages... and i can't figure out the command line
> options to print from my linux print clients to my
> linux print server...
> 
> windows is doing fine though.
> 
> other thing is that when I:
> 
> smbclient //neptun/printers
> 
> i can mount the share but it does not print.
> 
> 
> 
> 
> -
> Email Enviado utilizando o serviço MegaMail
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> __ NOD32 1.626 (20040217) Information __
> 
> This message was checked by NOD32 antivirus system.
> http://www.nod32.com


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


RE: [Samba] Pop-up messages to domain members?

2004-02-12 Thread Anders Norrbring

> 
> > Is it possible to send a pop-up message to all connected Windows
> > stations in a
> > whole domain via one command, or is it necessary to send one
> > message per
> > command to each station?
> 
> PER HELP on Windows XP...
> 
> Net send
> 
> Sends messages to other users, computers, or messaging names on the
> network. The Messenger service must be running to receive
> messages.
> 
> net send {name | * | /domain[:name] | /users} message
> 
> Parameters
> 
> name
> 
> Specifies the user name, computer name, or messaging name to send
> the message to. If the name is a computer name that contains blank
> characters, enclose the alias in quotation marks (" "). Long user
> names may lead to problems when used as NetBIOS names. NetBIOS
> names are limited to 16 characters, and Windows 2000 reserves the
> 16th character.
> 
> *
> 
> Sends the message to all the names in your domain or workgroup.
> 
> /domain[:name]
> 
> Sends the message to all the names in the computer's domain. If name
> is specified, the message is sent to all the names in the specified
> domain or workgroup.
> 
> /users
> 
> Sends the message to all users connected to the server.
> 
> message
> 
> Specifies text to be sent as a message.

Well, I knew that.. But I need to do it from a linux server, not a Windows
machine.  I.e. from linux to all connected Win workstations.

Anders.

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


[Samba] Pop-up messages to domain members?

2004-02-12 Thread Anders Norrbring

Is it possible to send a pop-up message to all connected Windows stations in a
whole domain via one command, or is it necessary to send one message per
command to each station?  It must be a command line utility since X isn't
running on the server.


Anders Norrbring


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


[Samba] Several logon script bat files?

2004-02-01 Thread Anders Norrbring
I simply wonder if I can have several different logon script bat files for
MS Win users that validates through my Samba PDC?

Let's say that group "users" should have logon batch users.bat and the
members of the group "sales" should have both users.bat and sales.bat
executed at logon?  Or can I in some way use ONE script with parameters that
knows about what groups the user is a member of and execute the correct
drive mappings on their Windows workstation?

Anders Norrbring


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


RE: [Samba] User access level.

2004-01-30 Thread Anders Norrbring
> Subject: Re: [Samba] User access level.
> 
> On Fri, 2004-01-30 at 05:32, Anders Norrbring wrote:
> > Well, now everything seems to be in place for the big leap to Linux for
> file
> > server and logon server.
> >
> > But there is one big catch that I can't find any info about.  The
> default
> > user level mappings in a Windows XP SP1 / Samba 2.2.5 PDC setting.
> >
> > Admin level is perfectly clear, but there is a group level "Domain
> Users",
> > what is the corresponding Windows XP user level?  Will the user be a
> "User"
> > or "Privileged User" ?  If it's the lower level, how can I enable the
> Priv.
> > User level to be the active?  The Samba PDC is running with roaming
> > profiles, uses LDAP and is version 2.2.5 (alt. 2.2.8a).
> >
> > Upgrading to Samba3 isn't an option, due to its tight integration with
> the
> > rest of my SuSE system. (SuSE Linux Standard Server 8).
> 
> User access level is a function of the local machine - not the PDC. You
> can however take these things in a lump by using groups...let's say that
> all of your users are members of a group called 'all-users'. Then you
> could add the 'DOMAIN\all-users' into the Power Users group on each
> local machine.
> 
> Craig


I was afraid of that... Alright, I'll set every user up individually after
their first logon, I was kind of hoping it would be controllable via user
group mappings in the Samba PDC.

Thanks anyway!
Anders Norrbring


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


[Samba] User access level.

2004-01-30 Thread Anders Norrbring

Well, now everything seems to be in place for the big leap to Linux for file
server and logon server.

But there is one big catch that I can't find any info about.  The default
user level mappings in a Windows XP SP1 / Samba 2.2.5 PDC setting.

Admin level is perfectly clear, but there is a group level "Domain Users",
what is the corresponding Windows XP user level?  Will the user be a "User"
or "Privileged User" ?  If it's the lower level, how can I enable the Priv.
User level to be the active?  The Samba PDC is running with roaming
profiles, uses LDAP and is version 2.2.5 (alt. 2.2.8a).

Upgrading to Samba3 isn't an option, due to its tight integration with the
rest of my SuSE system. (SuSE Linux Standard Server 8).

Anders Norrbring


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


[Samba] (Idiot outside) - smbprngenpdf printer driver?

2004-01-30 Thread Anders Norrbring
Well, I wasn't really awake I guess.. It's just a script that calls
GhostScript for pdf generation..  

But the question still stands, what IS the best quality printer driver to
use for GhostScript -> pdf printing?  We need both colours and high
resolution..


Hiya!
Can anybody recommend what the best Windows XP printer driver is to generate
pdf documents with the generator "smbprngenpdf" which is included in SuSE's
smb-client package?

Could it be the CUPS printer driver, or the Adobe?  Or something completely
different?

Anders Norrbring



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


[Samba] smbprngenpdf printer driver?

2004-01-30 Thread Anders Norrbring

Hiya!
Can anybody recommend what the best Windows XP printer driver is to generate
pdf documents with the generator "smbprngenpdf" which is included in SuSE's
smb-client package?

Could it be the CUPS printer driver, or the Adobe?  Or something completely
different?

Anders Norrbring



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


RE: [Samba] Change passwords

2004-01-29 Thread Anders Norrbring

> -Original Message-
> From: Andrew Bartlett [mailto:[EMAIL PROTECTED]
> Sent: den 29 januari 2004 22:04
> To: Anders Norrbring
> Cc: Samba user list
> Subject: Re: [Samba] Change passwords
> 
> On Thu, 2004-01-29 at 22:38, Anders Norrbring wrote:
> > Is it possible to enable a Windows XP SP1 user to change his domain
> password
> > on the Samba server via the standard Windows way by pressing ctrl-alt-
> del
> > and choose Change Password?
> >
> > Samba is 2.2.5 SuSE
> 
> This works out of the box, standard, with no modification required.
> Changing the unix password at the same time is a different matter, but
> did you actually try before you asked the list?
> 
> Andrew Bartlett


Yas I did try it, I also looked in the logs, but no trace whatsoever.  I've
reported it as a flaw to SuSE, this distribution I run is SuSE Linux
Standard Server 8, and everything "should" be running, as you say, out of
the box.

I'll try to pinpoint it more, and I'll get back to the list regarding it.

Anders Norrbring
Norrbring Consulting

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


[Samba] Groups

2004-01-29 Thread Anders Norrbring

I've noticed in the HOW-TO collection (for v3, unforunately..) that there is
a command "net groupadd" to create group mappings for the Samba server to
use when controlling users in the domain.  Since my Samba is 2.2.8a, the net
command doesn't exist on my system.

Is there another utility to use to create NT groups (f.x. Power Users) that
Samba can use in its PDC role?

Anders Norrbring


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


RE: [Samba] Change passwords

2004-01-29 Thread Anders Norrbring


> > Is it possible to enable a Windows XP SP1 user to change his
> > domain password
> > on the Samba server via the standard Windows way by pressing ctrl-alt-
> del
> > and choose Change Password?
> >
> > Samba is 2.2.5 SuSE
> >
> > Anders Norrbring
> 
> Yup.
> 
> In [global] you want:
> 
> You need to set the correct values for:
> 
> passwd program (= /path/to/passwd %u)
> passwd chat (distro dependant - something like this though: passwd chat =
> *new*password* %n\\n*new*password* %n\\n *changed*)
> unix password sync (= yes)
> 
> You could also use PAM:
> 
> PAM password change = yes
> 
> and delete the "passwd program" parameter.
> 
> The password chat is distro dependant - because it is based on what
> happens
> if you type passwd  as root.
> 
> try typing man smb.conf - its suprisingly useful!
> 
> http://us1.samba.org/samba/docs/man/smb.conf.5.html#PASSWDPROGRAM
> 
> Chris


I've tried and tried.. So, finally I set the log level to debug and this
shows up, nothing else, when I try to change passwords:

[2004/01/29 12:17:31, 0] lib/util_sec.c:assert_gid(114)
  Failed to set gid privileges to (0,65533) now set to (0,-1) uid=(0,65534)
[2004/01/29 12:17:31, 0] lib/util.c:smb_panic(1094)
  PANIC: failed to set gid
  

I don't have a clue to where I should start looking..

Anders.

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


[Samba] Change passwords

2004-01-29 Thread Anders Norrbring

Is it possible to enable a Windows XP SP1 user to change his domain password
on the Samba server via the standard Windows way by pressing ctrl-alt-del
and choose Change Password?

Samba is 2.2.5 SuSE

Anders Norrbring

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


RE: [Samba] Samba / CUPS / Drivers

2004-01-28 Thread Anders Norrbring
> > > >
> > > > I'm trying to figure out if it's possible to use different driver
> > > > file downloads for different printers on the system?  As
> > of what I
> > > > can see in all doc-files I can only use ONE set of
> > drivers for all
> > > > added printers?
> > > >
> > > > F.x. I have one printer that is handled by CUPS' PPD
> > system, and one
> > > > printer that uses RAW.
> > > >
> > > > So, the first printer (PPD) should have its feed in postscript
> > > > format
> > > from
> > > > the Windows clients, so they get the Adobe PS driver set
> > by download
> > > when
> > > > they add the printer to the system.
> > > >
> > > > But the second printer that should be fed by the Windows clients
> > > > already processed stream, that is, they need the printer
> > > > manufacturers native printer driver for Windows.  So, they should
> > > > NOT get the Adobe friver, but a different set.
> > > >
> > > > Is it doable?  I run CUPS v1.2.0b1 and Samba 2.2.5.
> > > >
> > > > Anders Norrbring
> > >
> > > Hi Anders,
> > >
> > > You want to run 2 different printers with samba/cups.
> > >
> > > 1 raw printer, and one PS printer.
> > >
> > > This is possible.
> > >
> > > I'd recommend upgrading CUPS though - 1.2 is quite old.
> > >
> > > Chris
> >
> > Thanks Chris, but CUPS v1.2 is pulled from CVS today, and not
> > at all old..
> > :)
> 
> Oops - Read that as 1.1.2 :)
> 
> Create a share in samba like this:
> 
> [print$]
> comment = Printer Drivers
> path = /home/samba/drivers
> browseable = yes
> guest ok = no
> read only = yes
> write list = user
> 
> Make sure that the user in write list is also listed in the printer admin
> section within the [printers] share.
> 
> These instructions are for samba 3 - but the basis is the same for
> uploading:
> 
> http://samba.mirror.ac.uk/samba/docs/man/CUPS-printing.html#id2933866
> 
> HTH
> 
> Chris


Thanks again Chris,  but it isn't of much help I'm afraid.  No matter how I
try, I can't get those Windows drivers in place on the Linux server.  All
that's there are the CUPS drivers, and they do download correctly.

My client is a Windows XP Pro SP1, and nowhere in there I can manage to
upload drivers for a printer to the Linux server..

Anders Norrbring


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


RE: [Samba] Samba / CUPS / Drivers

2004-01-28 Thread Anders Norrbring
> >
> > I'm trying to figure out if it's possible to use different driver file
> > downloads for different printers on the system?  As of what I can
> > see in all
> > doc-files I can only use ONE set of drivers for all added printers?
> >
> > F.x. I have one printer that is handled by CUPS' PPD system, and
> > one printer
> > that uses RAW.
> >
> > So, the first printer (PPD) should have its feed in postscript format
> from
> > the Windows clients, so they get the Adobe PS driver set by download
> when
> > they add the printer to the system.
> >
> > But the second printer that should be fed by the Windows clients already
> > processed stream, that is, they need the printer manufacturers native
> > printer driver for Windows.  So, they should NOT get the Adobe
> > friver, but a
> > different set.
> >
> > Is it doable?  I run CUPS v1.2.0b1 and Samba 2.2.5.
> >
> > Anders Norrbring
> 
> Hi Anders,
> 
> You want to run 2 different printers with samba/cups.
> 
> 1 raw printer, and one PS printer.
> 
> This is possible.
> 
> I'd recommend upgrading CUPS though - 1.2 is quite old.
> 
> Chris

Thanks Chris, but CUPS v1.2 is pulled from CVS today, and not at all old..
:)

I know the fact that it's possible, but I don't understand how I can enable
the server to download the printer drivers to the Windows XP Pro users?

It's easy enough to just set up Samba and CUPS with 2 printers with
different drivers sets on the Linux server, no problems.  But I need the
server to transfer the correct driver depending on which of the printers the
users wants to use.  As of what I understand, the cupsaddsmb command only
supports ONE driver to be added.

Anders Norrbring


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


RE: [Samba] Samba / CUPS / Drivers

2004-01-28 Thread Anders Norrbring
> >
> > I'm trying to figure out if it's possible to use different driver file
> > downloads for different printers on the system?  As of what I can
> > see in all
> > doc-files I can only use ONE set of drivers for all added printers?
> >
> > F.x. I have one printer that is handled by CUPS' PPD system, and
> > one printer
> > that uses RAW.
> >
> > So, the first printer (PPD) should have its feed in postscript format
> from
> > the Windows clients, so they get the Adobe PS driver set by download
> when
> > they add the printer to the system.
> >
> > But the second printer that should be fed by the Windows clients already
> > processed stream, that is, they need the printer manufacturers native
> > printer driver for Windows.  So, they should NOT get the Adobe
> > friver, but a
> > different set.
> >
> > Is it doable?  I run CUPS v1.2.0b1 and Samba 2.2.5.
> >
> > Anders Norrbring
> 
> Hi Anders,
> 
> You want to run 2 different printers with samba/cups.
> 
> 1 raw printer, and one PS printer.
> 
> This is possible.
> 
> I'd recommend upgrading CUPS though - 1.2 is quite old.
> 
> Chris

Thanks Chris, but CUPS v1.2 is pulled from CVS today, and not at all old..
:)

I know the fact that it's possible, but I don't understand how I can enable
the server to download the printer drivers to the Windows XP Pro users?

It's easy enough to just set up Samba and CUPS with 2 printers with
different drivers sets on the Linux server, no problems.  But I need the
server to transfer the correct driver depending on which of the printers the
users wants to use.  As of what I understand, the cupsaddsmb command only
supports ONE driver to be added.

Anders Norrbring


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


[Samba] Samba / CUPS / Drivers

2004-01-28 Thread Anders Norrbring

I'm trying to figure out if it's possible to use different driver file
downloads for different printers on the system?  As of what I can see in all
doc-files I can only use ONE set of drivers for all added printers?

F.x. I have one printer that is handled by CUPS' PPD system, and one printer
that uses RAW.  

So, the first printer (PPD) should have its feed in postscript format from
the Windows clients, so they get the Adobe PS driver set by download when
they add the printer to the system.

But the second printer that should be fed by the Windows clients already
processed stream, that is, they need the printer manufacturers native
printer driver for Windows.  So, they should NOT get the Adobe friver, but a
different set.

Is it doable?  I run CUPS v1.2.0b1 and Samba 2.2.5.

Anders Norrbring


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


RE: [Samba] Execute .exe files from a Samba share

2004-01-25 Thread Anders Norrbring
> On Mon, 2004-01-26 at 03:35, Anders Norrbring wrote:
> > Hi!
> >
> > I'm experimenting with SuSE Linux and Samba 2.2.5 as a PDC, so far,
> > everything works perfectly well, aside from that if I store an .exe file
> on
> > a network mapped drive (from the Samba server) it can't be run?
> >
> > The workstation is a Windows XP Pro SP1, connecting to the Samba running
> as
> > a PDC with LDAP backend.  The machine and user logon works perfectly,
> but I
> > can't execute .exe files residing on the Samba server's shares.
> 
> Ensure you have unix execute permission on the file too.
> 
> We map from unix to NT execute permissions.
> 
> Andrew Bartlett


I guess that this list isn't the right place for distribution specific
questions, but as of what my manual for my dist says, it should work as a
PDC fully directly from the box.

It's the SuSE Linux Standard Server 8, based on United Linux 1.0SP3.  I've
followed the written manuals to the letter, and all the setup is made by
SuSE's web admin interface.  I don't know if it's familiar to you?

Anyway, I attach my smb.conf below, if that can be of any lead.

...

[global]
   add user script = /usr/sbin/addsmbmachine2ldap %m
   admin users = administrator
   character set = 
   client code page = 437
   domain admin group = @ntadmin root
   encrypt passwords = Yes
   ldap admin dn = uid=cyrus,dc=the-server,dc=net
   ldap del only sam attr = Yes
   ldap filter = (&(uid=%u)(objectclass=sambaAccount))
   ldap port = 389
   ldap server = localhost
   ldap ssl = No
   ldap suffix = dc=the-server,dc=net
   map to guest = Bad User
   os level = 64
   printcap name = CUPS
   printer admin = @ntadmin
   printing = CUPS
   security = user
   socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
   time server = Yes
   unix extensions = Yes
   username map = /etc/samba/smbusers
   veto files = /*.eml/*.nws/riched20.dll/*.{*}/
   wins support = Yes
   workgroup = THE-SERVER

[netlogon]
   comment = Network Logon Service
   path = /var/lib/samba/netlogon
   browseable = No
[homes]
   browseable = No
   comment = Home Directories
   inherit permissions = Yes
   read only = No
   valid users = %S
[print$]
   comment = Printer Drivers
   create mask = 0664
   directory mask = 0775
   force group = ntadmin
   path = /var/lib/samba/drivers
   write list = @ntadmin root
[printers]
   browseable = No
   comment = All Printers
   create mask = 0600
   path = /var/tmp
   printable = Yes

[Users]
   comment = Share of all users
   path = /home
   writeable = Yes
   inherit permissions = Yes
   veto files = /aquota.user/groups/shares/
[Groups]
   comment = Share of all groups
   path = /home/groups
   writeable = Yes
   inherit permissions = Yes
[pdf]
   comment = PDF generator
   path = /var/tmp
   printable = Yes
   print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
   create mask = 0600
[info]
   comment = info
   path = /home/groups/info
   writeable = Yes
   inherit permissions = Yes
   browseable = No
[IT]
   comment = IT
   path = /home/groups/IT
   writeable = Yes
   inherit permissions = Yes
   browseable = No
[purchase]
   comment = purchase
   path = /home/groups/purchase
   writeable = Yes
   inherit permissions = Yes
   browseable = No
[sales]
   comment = sales
   path = /home/groups/sales
   writeable = Yes
   inherit permissions = Yes
   browseable = No
[management]
   comment = management
   path = /home/groups/management
   writeable = Yes
   inherit permissions = Yes
   browseable = No
[administration]
   comment = administration
   path = /home/groups/administration
   writeable = Yes
   inherit permissions = Yes
   browseable = No

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


[Samba] Execute .exe files from a Samba share

2004-01-25 Thread Anders Norrbring

Hi!

I'm experimenting with SuSE Linux and Samba 2.2.5 as a PDC, so far,
everything works perfectly well, aside from that if I store an .exe file on
a network mapped drive (from the Samba server) it can't be run?

The workstation is a Windows XP Pro SP1, connecting to the Samba running as
a PDC with LDAP backend.  The machine and user logon works perfectly, but I
can't execute .exe files residing on the Samba server's shares.

Anders Norrbring


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


[Samba] Firewall transparancy?

2004-01-24 Thread Anders Norrbring

Hi!

I was thinking, is there a way to use a linux box with Samba running in the
DMZ of a firewall and to validate logons from the internal network?

I.e. the users workstations are on the protected net on 192.168.111.xx and
the Samba PDC resides in the DMZ, running subnet 192.168.222.xx.  If it's
possible, what ports need to be open?

Anders Norrbring


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


[Samba] Logon time restrictions?

2004-01-23 Thread Anders Norrbring

Hiya all!

I'll try posting again, just to see if someone knows...

I've browsed to lots of doc. files, but I can't find a good answer.  Is it
possible to set logon time restrictions to users when Samba operates as a
PDC, controlling Windows XP Pro clients?

We're in the need to have different time restrictions based on user groups
as well as individual users.

Currently we run Samba v2.2.5, but will upgrade if needed.

Anders Norrbring


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


[Samba] Logon time restrictions?

2004-01-23 Thread Anders Norrbring

Hiya all!

I've browsed to lots of doc. Files, but I can't find a good answer.  Is it
possible to set logon time restrictions to users when Samba operates as a
PDC, controlling Windows XP Pro clients?

We're in the need to have different time restrictions based on user groups
as well as individual users.

Currently we run Samba v2.2.5, but will upgrade if needed.

Anders Norrbring


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


[Samba] Talking on different networks.

2002-05-26 Thread Anders Norrbring








I’m not sure if
this even SHOULD work… I can’t find anything really useful in the
documentation.

 

I have a RedHat 7.3
system in the DMZ of our network, its address is 192.168.222.10, broadcast
address is 192.168.222.255

 

I firewall, linux based with
3 ports, the 192.168.222.0 net (DMZ), the “outside world” on one
port and the internal network is 192.168.111.0, broadcasting on 192.168.111.255.

 

 

So, on the internal
network are Windows XP workstations, these can “search computers”
and find the linux on the DMZ by name, they can connect to it if given the
network address or name (the name – network address translation is done
in the Windows’ hosts files) and also browse the samba shares.

 

BUT… Here’s
the problem…  The linux (Samba) server never shows up in the
Windows’ Network neighbourhood, which would be very good for those who
aren’t too familiar with networking.  Can anyone please help me out
here?

 

Thank you,

Anders.

 








VB: [Samba] Trouble browsing on different nets.

2002-05-25 Thread Anders Norrbring









 

 

 

I wrote it wrong
here… Sorry about that.. They are of course .255 …. J

 

-Ursprungligt
meddelande-
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] För David
van Geyn
Skickat: den 25 maj 2002
15:27
Till: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Ämne: Re: [Samba] Trouble browsing
on different nets.

 



I believe your broadcast addresses
on the linux box are set wrong. If you are using 192.168.111.0/24 and
192.168.222.0/24 as your IP networks, you should be using 192.168.111.255 and
192.168.222.255 as your broadcast addresses respectively. This may be why the
Windows machines aren't picking up NetBios broadcasts from the Samba server.





 





HTH,





 





David van Geyn







- Original Message - 





From: Anders Norrbring 





To: [EMAIL PROTECTED]






Sent: Saturday,
May 25, 2002 7:05 AM





Subject: [Samba]
Trouble browsing on different nets.





 



 

I’m not sure if
this even SHOULD work… I can’t find anything really useful in the
documentation.

 

I have a RedHat 7.3
system in the DMZ of our network, its address is 192.168.222.10, broadcast
address is 192.168.222.254

 

I firewall, linux based
with 3 ports, the 192.168.222.0 net (DMZ), the “outside world” on
one port and the internal network is 192.168.111.0, broadcasting on
192.168.111.254.

 

 

So, on the internal
network are Windows XP workstations, these can “search computers”
and find the linux on the DMZ by name, they can connect to it if given the
network address or name (the name – network address translation is done
in the Windows’ hosts files) and also browse the samba shares.

 

BUT… Here’s
the problem…  The linux (Samba) server never shows up in the
Windows’ Network neighbourhood, which would be very good for those who
aren’t too familiar with networking.  Can anyone please help me out
here?

 

Thank you,

Anders.










[Samba] Trouble browsing on different nets.

2002-05-25 Thread Anders Norrbring








 

I’m not sure if this even SHOULD work… I
can’t find anything really useful in the documentation.

 

I have a RedHat 7.3 system in the DMZ of our network,
its address is 192.168.222.10, broadcast address is 192.168.222.254

 

I firewall, linux based with 3 ports, the
192.168.222.0 net (DMZ), the “outside world” on one port and the
internal network is 192.168.111.0, broadcasting on 192.168.111.254.

 

 

So, on the internal network are Windows XP workstations,
these can “search computers” and find the linux on the DMZ by name,
they can connect to it if given the network address or name (the name –
network address translation is done in the Windows’ hosts files) and also
browse the samba shares.

 

BUT… Here’s the problem…  The linux
(Samba) server never shows up in the Windows’ Network neighbourhood,
which would be very good for those who aren’t too familiar with
networking.  Can anyone please help me out here?

 

Thank you,

Anders.