Sponsored Content
Full Discussion: Why use Samba?
Top Forums UNIX for Dummies Questions & Answers Why use Samba? Post 30377 by auswipe on Monday 21st of October 2002 02:58:45 PM
Old 10-21-2002
I use samba to share my FreeBSD filesystems to Win32 machines. That means I can copy files to my Unix machine and vice versa without any problems. I can found a Win32 share from my FreeBSD machine as if it was a NFS or local filesystem. Very handy, indeed!
 

8 More Discussions You Might Find Interesting

1. Programming

Samba 2.2.4

Has any setup samba 2.2.4 inside of unix ver 11.0, i am trying to mount a nfs mount on a w2k, and wxp box, and i was told that i had to upgrade to sambe 2.2.4, but the c compiler on ver 11.0 isnt ansii compatable, I could please use any help or directions on this matter... thanks (0 Replies)
Discussion started by: marvin51796
0 Replies

2. UNIX for Dummies Questions & Answers

Need Samba Help

Hi, I am very new to Unix, do know some RedHat linux. I am wanting to install samba on my unix machine. Not sure where to start, any help would be very much appreciated. Thanks, Chris Lewis (4 Replies)
Discussion started by: lewy33
4 Replies

3. Solaris

SAMBA - where?

Greetings.. I need SAMBA to implement a backup strategy , the problem is that i cant find it anywhere... can u guys gimme a link to a sun compatilble version of samba ? thanx thanx htanx..... :rolleyes: (3 Replies)
Discussion started by: nEuRoMaNcEr
3 Replies

4. UNIX for Dummies Questions & Answers

Samba help

Hey. I have a question about adding users and maping theirs dirictorys. Main Folder | -User1 Folder -User2 Folder -User3 Folder ...... How can I add this users to have folders in the Main Folder ? any simple script? And I... (0 Replies)
Discussion started by: net555
0 Replies

5. UNIX for Dummies Questions & Answers

Samba

after creating username/passwd, vi /usr/lib/smb.conf file comment = dropoff location path = /tmp/droloc browsable = No available = yes public = no writable = yes printable = no create mode = 777 valid users = tjmann,palexander,bmartin,.... instead of using... (2 Replies)
Discussion started by: tjmannonline
2 Replies

6. UNIX for Dummies Questions & Answers

SAMBA

currently, we are using SAMBA for our ftp way. can SAMBA be encrypted aka sftp ? (2 Replies)
Discussion started by: lawsongeek
2 Replies

7. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

8. Ubuntu

Samba Help

All; I've done this before, but sure I'm typing in the wrong search terms, so not finding the help I need. What I have to do: Set up Samba, smb.conf, smbclient, fstab and all other settings so I see both the Windows and Linux servers and their shares in the network, via Samba. It's... (19 Replies)
Discussion started by: TBotNik
19 Replies
WIN32_CREATE_SERVICE(3) 						 1						   WIN32_CREATE_SERVICE(3)

win32_create_service - Creates a new service entry in the SCM database

SYNOPSIS
mixed win32_create_service (array $details, [string $machine]) DESCRIPTION
PARAMETERS
o $details - An array of service details: o $service - The short name of the service. This is the name that you will use to control the service using the net command. The ser- vice must be unique (no two services can share the same name), and, ideally, should avoid having spaces in the name. o $display -The display name of the service. This is the name that you will see in the Services Applet. o $description -The long description of the service. This is the description that you will see in the Services Applet. o $user - The name of the user account under which you want the service to run. If omitted, the service will run as the LocalSystem account. If the username is specified, you must also provide a password. o $password - The password that corresponds to the $user. o $path - The full path to the executable module that will be launched when the service is started. If omitted, the path to the current PHP process will be used. o $params - Command line parameters to pass to the service when it starts. If you want to run a PHP script as the service, then the first parameter should be the full path to the PHP script that you intend to run. If the script name or path contains spa- ces, then wrap the full path to the PHP script with ". o $load_order - Controls the load_order. This is not yet fully supported. o $svc_type - Sets the service type. If omitted, the default value is WIN32_SERVICE_WIN32_OWN_PROCESS. Don't change this unless you know what you're doing. o $start_type - Specifies how the service should be started. The default is WIN32_SERVICE_AUTO_START which means the service will be launched when the machine starts up. o $error_control - Informs the SCM what it should do when it detects a problem with the service. The default is WIN32_SERVER_ERROR_IGNORE. Changing this value is not yet fully supported. o $delayed_start - If $delayed_start is set to TRUE, then this will inform the SCM that this service should be started after other auto- start services are started plus a short delay. Any service can be marked as a delayed auto-start service; however, this setting has no effect unless the service's $start_type is WIN32_SERVICE_AUTO_START. This setting is only applicable on Windows Vista and Windows Server 2008 or greater. o $base_priority - To reduce the impact on processor utilisation, it may be necessary to set a base priority lower than normal. The $base_priority can be set to one of the constants define in Win32 Base Priority Classes. o $machine - The optional machine name on which you want to create a service. If omitted, it will use the local machine. RETURN VALUES
Returns WIN32_NO_ERROR on success, FALSE if there is a problem with the parameters or a Win32 Error Code on failure. EXAMPLES
Example #1 A win32_create_service(3) example Create a service with the short name 'dummyphp'. <?php $x = win32_create_service(array( 'service' => 'dummyphp', # the name of your service 'display' => 'sample dummy PHP service', # short description 'description' => 'This is a dummy Windows service created using PHP.', # long description 'params' => '"' . __FILE__ . '" run', # path to the script and parameters )); debug_zval_dump($x); ?> SEE ALSO
win32_delete_service(3), Win32 Base Priority Classes, Win32 Error Codes. PHP Documentation Group WIN32_CREATE_SERVICE(3)
All times are GMT -4. The time now is 03:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy